Thank you for choosing our User Authentication System! Follow these steps to set up the project on your local machine:
Make sure you have Node.js version 18.18.0 installed. If not, you can download it here.
Ensure you have MySQL version 8.1 installed. You can download it here.
- Create a new database in your MySQL server.
- Import the initial data using the provided file (
dependencies/t_m_db.sql
).- You can use tools like MySQL Workbench or phpMyAdmin for this step.
- Create a new file named
.env
in the root directory of your project. - Reference the structure from the template file located at
dependencies/env.js
.
Open your terminal, navigate to the project's root directory, and run the following commands:
npm install
npm start
These commands will install all necessary dependencies and start the server.
Now you're all set! Open your browser and navigate to http://localhost:your-chosen-port
to see the authentication system in action.
Feel free to explore the code and customize it according to your needs Happy coding!