- Node.js
- MongoDB
- Socket.io
git clone
npm install
npm start
- Check the package.json start script before npm start
npm add express mongoose dotenv helmet morgan nodemon
Error you can face regarding port used :--
sudo kill $(sudo lsof -t -i:8080)
Font-End
To run this social-media app
- Fiest make your mongoDB cluster-database.
- Put your MONGO_URL in ( .env )
- Now start backend server using - ( npm start )
- If its shows backend running you are good to go.
- Now start the client server ( Front-end ) using - ( npm start )
- Run both Back-End & Front-End in different port.
- Don't start the front-end server first