Deploy: https://streamers-app-6cbecbf31509.herokuapp.com
Common setup:
- Clone the repo
git clone https://github.com/Mariia22/streamer-backend-app.git
cd streamer-backend-app
- Install the dependencies
npm install
- Add environment variables
- DB="path to MongoDB cluster" (example: mongodb+srv://NAME:[email protected]/streamers?retryWrites=true&w=majority)
- PORT="default port"
- FRONTEND_APP="path to frontend app"
- To start the express server, run the following
npm run start:dev