create-nestjs-bp
v1.0.2
Published
Scaffold a new NestJS project from the nestjs-boilerplate template
Maintainers
Readme
create-nestjs-bp
Scaffold a production-ready NestJS project in seconds.
Usage
npx create-nestjs-bp my-projectThe interactive CLI will ask for:
- Project name & app display name
- Database name
- Redis key prefix
- Admin email
- Port
Then it clones the boilerplate, configures everything, installs dependencies, and initializes git.
What you get
- Auth — JWT, refresh tokens, sessions, MFA (TOTP + email OTP), OAuth (Google / GitHub / Microsoft 365)
- RBAC — roles, permissions auto-synced from decorators, Auth Policies (runtime config)
- CRUD — auto-generated endpoints with permission guards (
npx plop module) - Databases — PostgreSQL (TypeORM) + Redis (cache/queue) + MongoDB (audit trail)
- Storage — Local or S3/MinIO with circuit breaker
- Email — SMTP or Resend, BullMQ queue, 10 built-in templates
- Observability — OpenTelemetry tracing, Prometheus metrics, structured Pino logging
- Developer experience — Swagger (auto-disabled in prod), Docker Compose, hot reload, e2e tests
Requirements
- Node.js >= 18
- Git
- Docker (for the dev infrastructure)
Documentation
See the getting started guide for a full walkthrough.
