Skip to content

This project is a Marvel-themed web application built using PHP, with a secure user management. The application allows users to register by entering their username, which is then stored in a MongoDB database. Upon registration, the system automatically generates a secure password for the user.

Notifications You must be signed in to change notification settings

felipe-mig/Marvel_Password_Encryption_MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📄 Description

This project is a Marvel-themed web application built using PHP, with a secure user management. The application allows users to register by entering their username, which is then stored in a MongoDB database. Upon registration, the system automatically encrypts the username entered.

  • No frameworks
  • No AI code
  • Local content

The website is optimized for a 15.6" 1920 x 1080 display with a 16:9 aspect ratio.

🛢️ Database Connection

  • Host: localhost
  • Port: 27080
  • User: felipe
  • Password: password
  • Database: marvel
  • Collection: users

📷 Screenshots

index.php

Screenshot1

♦️ You will need a local server and import the database to display the website on your browser.

📒 How to run a local server using MongoDB 🍃

You can use XAMPP as a free option:

https://www.apachefriends.org/

For MongoDB you need this tools:

🛠️ Install Mongo DB extension for XAMPP

  1. Once the previous tools are installed, an extension for Mongo DB to communicate with the system must be installed. You can find the extension here:

    https://pecl.php.net/package/mongodb

  2. Once is downloaded, look for the dll file. Then go to your Xampp folder and navigate to the php/ext folder.

  3. You will want to paste the dll file into this location.

  4. Next, go to C:\XAMPP\php from here we need to open and modify the php.ini file.

  5. Once there open it with your preferred editor. Then scroll down till you locate the extension area and add the following line:

    extension=php_mongodb.dll

  6. Save and close the php.ini file. Next, stop and restart your Apache server.

Run XAMPP

If you followed the default installation parameters, the directory to run the local server should be on this path:

C:\XAMPP

Steps to start the server:

  1. In C:\XAMPP look for the xampp-control file and open it. Next, start the Apache and MySQL servers.

  2. At the same directory level where the xampp-control file was located, look for the htdocs folder and delete it.

  3. Replace the removed htdocs folder with the one on this project.

About

This project is a Marvel-themed web application built using PHP, with a secure user management. The application allows users to register by entering their username, which is then stored in a MongoDB database. Upon registration, the system automatically generates a secure password for the user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published