API for a simple trading platform created using Nest Framework.
$ npm install
Environment files for configuration are located in the /config/
folder.
The structure for the dotenv files (files with a .local
suffix are ignored by VCS):
- .env – for default (fallback) values
- .env.development – for development environment
- .env.test – for test environment
- .env.production – for production environment
- .env.local – for individual default values
- .env.development.local – for individual development environment values
- .env.test.local – for individual test environment values
- .env.production.local – for production environment values
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run build
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Swagger OpenAPI docs available at route /api-docs