A NestJS application template with a comprehensive development workflow, including testing, linting, formatting, and cross-platform compatibility.
$ 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
# watch mode
$ pnpm run test:watchThis project uses Husky for Git hooks to ensure code quality and consistency across all platforms.
Our development setup works seamlessly on:
- ✅ Windows (PowerShell, Git Bash, WSL2)
- ✅ macOS (Terminal, iTerm2)
- ✅ Linux (bash, zsh)
For platform-specific setup instructions, see Cross-Platform Setup Guide.
# Lint and fix code
$ pnpm run lint
# Check linting without fixing
$ pnpm run lint:check
# Format code
$ pnpm run format
# Check formatting without fixing
$ pnpm run format:check
# Type checking
$ pnpm run type-checkThis project follows conventional commit format:
<type>[optional scope]: <description>
Examples:
- feat: add user authentication
- fix(api): resolve CORS issue
- docs: update README
- test: add unit tests for user service
Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert
This project is MIT licensed.