Locally when running with 'npm start' server is started and responsive at: http://localhost:3000/hello/Marcus http://localhost:3000/
We have to run it on port 80.
npm install
npm start
npm start:cluster
npm run swagger
npm run test
npm run test:coverage
The coverage report will be saved under ./coverage
folder.
npm run doc
The project documentation will be saved under ./doc
folder.
Update App Settings on Azure with the following:
WEBSITE_NODE_DEFAULT_VERSION 8.9.3
Before pushing to Azure, make sure node_modules
and dist
folder are created by running the following
npm install
npm run-script build