Sign up, Login, Profile page app - MERN stack project
This project is made using React js, node js, express and mongo db. The frontend files are inside src folder. The backend files are inside signupbackend folder.
To run this project successfully, follow these steps:-
- Create a '.env' file inside 'signupbackend' folder with the following variables below:
DATABASE_ACCESS = "mongodb+srv://:@cluster0.ywtddvn.mongodb.net/?retryWrites=true&w=majority" JWT_SECRET = 'dghafvjdusmyhgsdhbgfiudykhg'
- The DATABASE_ACCESS should contain the link to your mongodb credentials(username / password) and table name. The JWT_SECRET has some random secret for the authentication purposes.
- Save the files.
- Run the backend server with 'npm start' command from signupbackend folder.
- Run the frontend server with 'npm start' command from the project folder.
- The project runs on http://localhost:3000/ in your browser.
Project Screenshots: