This project offers a quality start for your applications. Project comes with NestJS, TypeScript, Drizzle ORM, Swagger, Docker, Prometheus and custom error handling classes. It is currently still in development and will be released soon...
Nest framework TypeScript starter repository.
$ pnpm install
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
NODE_ENV = development
API_GLOBAL_PREFIX = /api
PORT = 3010
HOST = localhost
LOG_LEVEL = debug
POSTGRESQL_URI = your_url
JWT_SECRET_KEY = supersecretkey
JWT_PUBLIC_KEY = supersecretkey
JWT_EXPIRATION_TIME = 1d
THROTTLE_TTL= 60
THROTTLE_LIMIT= 10
GRACEFUL_SHUTDOWN_TIMEOUT = 5000
KEEP_NODE_PROCESS_ALIVE = false
PROMETHEUS_DEFAULT_METRICS_ENABLED = true
PROMETHEUS_PATH = /metrics
PROMETHEUS_DEFAULT_LABELS_APP = nestjs-enterprise-starter