create a folder named 'socialpost' and under that folder
- Clone this repository (also frontend --> https://github.com/prinsium/socialpost-frontend.git )
git clone https://github.com/prinsium/socialpost-backend.git
- Install dependencies
npm install
- Create .env in root directory
cd ..
touch .env
- Configure environment variables in your new .env file
MONGO_URI=<YOUR_MONGO_URI>
TOKEN_KEY=<YOUR_TOKEN_KEY>
- Start a new terminal and run server
nodemon index.js