- PORT={ANY OPEN PORT}
- DB_USERNAME={MONGODB ATLAS USERNAME}
- DB_PASSWORD={MONGODB ATLAS PWD}
See last on how to set username and password.
NOTE:: The PORT you mention in .env file and '/client/src/service/api.js' - const API_URI = "http://localhost:{PORT}"; should be the same.
- Run 'npm install'
- Run 'npm start'
- Backend should be up and Running.
- Run 'npm install'
- Run 'npm start'
- Frontend should be up and Running
Setting MongoDB : (A dummy working username and password were set which will get deleted in one week)
- Once account is created, select free plan.
- Create username and password ( save this to paste inside .env file).
- Create the Cluster and click on "connect" . Then "connect to application" , select node.js and compatible version. copy the path and place it inside database/db.js [ const MONGO_URI = ``; ].