Create .env
file in the root directory as follows:
PORT=3000
HOST=localhost
DEBUG=true
Install dependencies executing npm install
.
# development
$ npm run dev
# build
$ npm run build
# Run after build
$ node ./dist/server.js
Swagger docs will be available at http:://localhost:3000/swagger by default (with parameters as in the example in the file .env
)