Deployed BASE_URL: https://turnthefrown.herokuapp.com/
1- npm install
2- create .env
file in the base directory
2- Inside the .env
file:
- PORT=5000
- DB_URL= #YOUR DATABASE URL#
- MongoDB Trail URL: mongodb+srv://Mohammed:Mohammed.418693@cluster0.n5xei.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
- SECRET= #YOURSECRETKEY#
- Trail Secret Key: SECRETKey
3- Run the server => npm start
4- If you installed nodemon
you can run the server => npm run dev
5- Base URL: http://localhost:5000/