- latest version of nodejs
- latest version of npm
- pubcore component for a @pubcore/node-composition
- eslint
- testing via express and mocha
- coverage via nyc
- create a directory (convention: lower case, dash-separated)
mkdir my-api
- and change into it
cd my-api
- execute
npx -p yo -p @pubcore/generator-rest yo @pubcore/rest
- (optional) execute prepared test example to check installation
npm run test