- After download code from git, cd to each of the folder backend and front then use command line to install modules for the project: npm install.
- Create file .env for backend, create constant MONGO_URI to link to the mongodb atlats, constant JWT_SECRET to generate token for authentication and authorization. Example:
- MONGO_URI=mongodb+srv://username:password@clusterplacesharingwebs.xajmz.mongodb.net/SharePictureWeb?retryWrites=true&w=majority
- JWT_SECRET=secret
- Use two different terminal
- command: cd backend to go to folder backend, then use command: npm start
- same to frontend