Hey There! Click that star button if you like this boilerplate.
Welcome to Node Express SaaS Starter Kit – a simple and ready-to-use starting point for building backend web services with Express.js and TypeScript.
- Click the "Use this template" button above to create a new repository
- Clone your new repository
- Install dependencies:
pnpm install - Copy
.env.templateto.envand configure your environment - Start development:
pnpm dev
- Organized Structure: Files grouped by feature for easy navigation.
- Fast Development: Rapid code execution with
tsxand type checking withtsc. - Modern Node.js: Utilizes the latest stable Node.js version from
.tool-versions. - Environment Validation: Secure configuration using Zod for environment variables.
- Path Aliases: Clean imports with
@alias forsrcdirectory. - Dependency Management: Automated updates via Renovate.
- Security: Built-in protection with Helmet and CORS.
- Logging: Integrated logging with
pino-http. - Testing: Comprehensive testing setup with Vitest and Supertest.
- Code Quality: Consistent style enforced by Biome.
- API Responses: Standardized responses using
ServiceResponse. - Deployment Ready: Docker containerization support.
- Validation: Request validation with Zod.
- API Documentation: Interactive docs via Swagger UI.
- Database Integration: PostgreSQL support with
pg-promise. - Commit Standards: Enforced conventional commits with Husky and Commitlint.
For detailed setup instructions, including prerequisites, installation, environment configuration, database setup, and running the project, see CONTRIBUTING.md.
We'd love to hear your feedback and suggestions for further improvements. Feel free to contribute and join us in making backend development cleaner and faster!