create-nest-backend
v0.3.0
Published
CLI generator for production-ready NestJS backends with a fixed MongoDB or PostgreSQL stack.
Maintainers
Readme
create-nest-backend
CLI for generating NestJS backend projects with a fixed database stack from the start:
- MongoDB + Mongoose
- PostgreSQL + Prisma
Usage with npx
npx create-nest-backendYou can also use the npm create-style entrypoint:
npm create nest-backendLocal Usage
pnpm install
pnpm run createPublishing
pnpm install
pnpm run build
npm login
npm publishNotes
- The project is created in the current directory where you run the command.
- The generator copies a base template plus the database-specific template.
- The generated project does not mix database engines.
- Generated projects include
.gitignore,.editorconfig,.nvmrc, and.env.example.
