API server built with the Nest framework.
npm install
Other than npm dependencies, git
is also needed to be available in path for npm postbuild script to run.
- Create a new .env file following this env-sample file.
- See this table describing all env vars
Development mode (watch files and perform live reload)
npm run serve
Build and run in production mode
# Build app first before running the app
npm run build
# Run the build output
npm run start
Debug mode
npm run start:debug
Build docker image
npm run docker:build
Run docker image
npm run docker:run
Run docker image and attach it to current shell
npm run docker:run-attached
# unit tests
npm run test
# e2e tests
npm run test:e2e
# test coverage
npm run test:cov