- User goes to http://localhost:3000/ and clicks on Register
- Fills the required credentials and the data gets stored in database with hashed password.
- Again go to http://localhost:3000/ and Login by filling the required credentials.
- If your filled data matches with the credentials in database. You will be redirected to homepage.
- 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.
- Reset password link will be mailed at your email address.
- Click on it to be redirected to reset-password page. Enter your new password and submit it.
Follow the steps below, after cloning the repository:
For Installing:
- Node
- 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! 🎉