-
In the
Backend
folder, create an.env
file with the following content:# backend/.env PORT=<backend-port> MONGODB_URI=<database-connection-string>
-
In the
Frontend
folder, create an.env
file with the following content:# frontend/.env REACT_APP_BACKEND_URL=<backend-url>
-
In the
Backend
folder, run the following commands:node server.js
-
In the
Frontend
folder, run the following commands:npm start