To deploy this project run
cd backend
npm init
npm i express
npm i nodemon
nodemon for making our express server auto reloadable.
npm start
It is used to run script written within script tag in package.json file. For that you have to specify your json like that:
"scripts": {
"start": "node server.js"
},
If there is something like this:
npm run server
Then it means it is equivalent for this configuration:
"scripts": {
"server": "node server.js"
},
For nodemon:
"scripts": {
"server": "nodemon server.js"
},
To update node modules: https://stackoverflow.com/questions/34202617/how-to-update-all-node-js-modules-automatically