Nest framework TypeScript starter repository.
Requires nodejs v20+
yarn install
# development with watch mode
yarn run start
# production mode
yarn run build
yarn run start:prod
yarn run updateSdkVersion development
# or
yarn run updateSdkVersion master
NODE_ENV
- Determines which config file in ./src/config
to use
TONOMY_OPS_PRIVATE_KEY
- The private key used to sign the transaction to create a new account
HCAPTCHA_SECRET
- The hCaptcha account secret key
# unit tests
yarn run test
# e2e tests
yarn run test:e2e
# test coverage
yarn run test:cov
Uses debug package. Use export DEBUG="tonomy*"
to see all debug logs.
https://localhost:5000/openapi (for REST API with Open API) https://localhost:5000/asyncapi (for websocket with Async API)
Run in a Digital Ocean App which runs the nodejs project: https://docs.digitalocean.com/products/app-platform/
Using Ubuntu 22.04 with Nodejs 20+ is enabled:
Build command: yarn run build
Run command: yarn run start:prod