Social Network for developers, built on MERN Stack i.e. Node, Express, MongoDB(Mongoose) in the backend(API Server) and React, React-Router, Redux, Redux-Thunk in the front end.
Follow these commands exactly to run this project.
npm install
cd client
npm install
cd ..
npm run devYou need to run "npm install" in client directory as well as global project directory
"scripts": {
"start": "node server",
"server": "nodemon server",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client"
}
npm start- npm start : Runs the backend of app in the development mode at http://localhost:5000
npm run client- npm run client : Runs the frontend of app in the development mode at http://localhost:3000
npm run server- npm run server : Runs the backend of app in the development mode by nodemon at http://localhost:5000
npm run devRuns the app in the development mode, which run both backend and front server consecutively.