Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.33 KB

README.md

File metadata and controls

76 lines (48 loc) · 2.33 KB

User Authentication

Tech-Stack: ReactJS, NodeJS, ExpressJS, MongoDB

🧐 FLOW OF PROJECT

  1. User goes to http://localhost:3000/ and clicks on Register

Screenshot 1

  1. Fills the required credentials and the data gets stored in database with hashed password.

Screenshot 2

Screenshot 3

  1. Again go to http://localhost:3000/ and Login by filling the required credentials.

Screenshot 4

  1. If your filled data matches with the credentials in database. You will be redirected to homepage.

Screenshot 5

  1. If you forget your password, then click on Forget Password at http://localhost:3000/. You will be redirected to http://localhost:3000/forgot-password where you should enter your email address.

Screenshot 6

  1. Reset password link will be mailed at your email address.

Screenshot 7

  1. Click on it to be redirected to reset-password page. Enter your new password and submit it.

Screenshot 8

🏁 Getting Started (to run project locally)

Follow the steps below, after cloning the repository:

🖐 Requirements

For Installing:

  • Node

⏳ Installation

  • Navigate into the server folder and use npm to install the server-side dependencies
cd server
npm install

This command installs all the server-side dependencies needed for the game to run locally.

  • Use npm to run server
npm start

This command gets the server running on localhost port 4500.

  • In a separate terminal, navigate into the client folder and use npm to install the client-side dependencies
cd client
npm install

This command installs all the client-side dependencies needed for the game to run locally.

  • Finally, use npm to run client
npm start

This command gets the client running on localhost port 3000.

Head over to http://localhost:3000/ to start using it! 🎉