- add .env file in the base directory for backend with following fields
- PORT = 3001
- CONNECTION_STRING -> MongoDB Connection String
- JWT_SECRET
-
Move to backend directory
-
Run command -> "npm install" to install all dependencies
-
Run command -> "npm run dev" to start server
- Move to frontend directory
- Run command -> "npm install" to install all dependencies
- Cloudinary account setup
- Add following fields in the .env file in frontend
- REACT_APP_CLOUDINARY_URL
- REACT_APP_CLOUDINARY_UPLOAD_PRESET
- REACT_APP_CLOUDINARY_CLOUD_NAME
- Run command -> "npm run start" to start the React App