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.
- Host: localhost
- Port: 27080
- User: felipe
- Password: password
- Database: marvel
- Collection: users
You can use XAMPP as a free option:
https://www.apachefriends.org/
For MongoDB you need this tools:
- Mongo Server: https://www.mongodb.com/docs/manual/installation/
- Mongo Shell: https://www.mongodb.com/try/download/shell
- Mongo Tools: https://www.mongodb.com/docs/database-tools/installation/installation-windows/
-
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:
-
Once is downloaded, look for the dll file. Then go to your Xampp folder and navigate to the php/ext folder.
-
You will want to paste the dll file into this location.
-
Next, go to C:\XAMPP\php from here we need to open and modify the php.ini file.
-
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
-
Save and close the php.ini file. Next, stop and restart your Apache server.
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:
-
In C:\XAMPP look for the xampp-control file and open it. Next, start the Apache and MySQL servers.
-
At the same directory level where the xampp-control file was located, look for the htdocs folder and delete it.
-
Replace the removed htdocs folder with the one on this project.