A production-ready NestJS template with modern features and best practices.
- Built with latest NestJS features and TypeScript
- PNPM as the default package manager for faster, disk-efficient package management
- ESLint with
@stylistic/eslint-pluginfor code formatting and lintingNote: Prettier is intentionally not used as its auto formatting, especially line breaking, can make NestJS code less readable, and it provides very limited customization options.
- Git hooks with Husky, lint-staged, and commit-lint for code quality enforcement
- Nestia & Typia for automatic API documentation and type-safe serialization
- Runtime Swagger documentation for API exploration
- Custom logger and API logging interceptor for better debugging
- Built-in API security features
- Prisma ORM integration for type-safe database operations
- Database migrations and schema management
- Docker support with included Dockerfile for containerization
- GitHub Actions workflow for Continuous Integration
- Clone the repository
- Install dependencies:
pnpm install - Set up your environment variables
- Set up DB and run migrations:
pnpm db:dev - Start the development server:
pnpm start:dev
For the best development experience, install:
- ESLint - For code formatting and linting