-
in terminal run
npm i
ornpm install
to install node_modules -
run
npm install cors
to install CORS library to allow using api in clint side in the development mode. -
run
node app.js
to run the server in the development mode. Or if you have installed nodemon globaly in your device then runnodemon
-
in terminal run
npm i
ornpm install
to install node_modules -
then run
npm start
to run the app in the development mode. Open http://localhost:3000 to view it in your browser.