- Overview NPM CLI commands
Read: https://docs.npmjs.com/cli
- Create Node application
- name:
publish-service
- version:
0.1.1
- Install to
deps
:
express
mongodb
redis
- Install to
dev deps
:
mocha
should
-
Create file
index.js
and require all modules fromdeps
-
Create most simple Express application with 1 route:
GET /status