A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript custom starter boilerplate repository.
Fastify
instead of Express@nestjs/config
Module initializednestjs-prisma
Module initializedclass-validator
,class-transformer
andValidationPipe
configuredBiomeJS
configured with@nedcloarbr/biome-config
instead of ESLint and Prettier@nestjs/swagger
Configured@nestjs/terminus
Health checks forapi
andprisma
Vitest
with Vitest UI and coverage-v8 instead of Jestnestjs-otel
/Open Temeletry
Pre-configuredDocker
compose file
# install packages
$ yarn install
# initialize prisma client and sync with database
$ yarn prisma migrate dev
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:coverage
# Start container
$ docker compose up -d
# View logs
$ docker compose logs -f
- Swagger:
http://localhost:9000/docs
- Grafana:
http://localhost:3000
Warning
PORTS THAT CANNOT BE USED IN THIS PROJECT
Metrics API(src/lib/metrics.ts
)
8081
-> OtelSDK
Metrics otel-collector(docker-compose.metrics.yml
)
1888
-> pprof extension
8888
-> Prometheus metrics exposed by the collector
8889
-> Prometheus exporter metrics
13133
-> health_check extension
4317
-> OTLP gRPC receiver
4318
-> OTLP HTTP receiver
55679
-> zpages extension
Metrics tempo(docker-compose.metrics.yml
)
14268
-> jaeger ingest
3200
-> tempo
4317
-> otlp grpc
4318
-> otlp http
9411
-> zipkin
Metrics loki(docker-compose.metrics.yml
)
3100
-> loki
Metrics prometheus(docker-compose.metrics.yml
)
9090
-> prometheus
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author
- NestJS Kamil Myลliwiec
- Boilerplate NedcloarBR
- Website
- NestJS https://nestjs.com
- Boilerplate NedcloarBR
- Twitter
- NestJS @nestframework
- Boilerplate @BrNedcloar
Nest is MIT licensed.