- back-end (server folder) :
cd server
andnpm i
- front-end (client folder) :
cd client
andnpm i
Create MongoDB Database : https://cloud.mongodb.com/
Create a .env
file in server
with :
- PORT=8080
- MONGO_URL=
- JWT_SECRET=
Create a .env
file in client
with :
- REACT_APP_API_URL=http://localhost:8080/api/
- back-end (server folder) :
cd server
andnpm start
- front-end (client folder) :
cd client
andnpm start