Skip to content

D15-Labs/express-starter-kit

Repository files navigation

Node Express SaaS Starter Kit

CI GitHub stars Use this template

Hey There! Click that star button if you like this boilerplate.

Introduction

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.

Quick Start

  1. Click the "Use this template" button above to create a new repository
  2. Clone your new repository
  3. Install dependencies: pnpm install
  4. Copy .env.template to .env and configure your environment
  5. Start development: pnpm dev

Features

  • Organized Structure: Files grouped by feature for easy navigation.
  • Fast Development: Rapid code execution with tsx and type checking with tsc.
  • 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 for src directory.
  • 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.

Getting Started

For detailed setup instructions, including prerequisites, installation, environment configuration, database setup, and running the project, see CONTRIBUTING.md.

Read More

Feedback and Contributions

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!

D15 Labs Dev Team

About

A production-ready starter template for building RESTful APIs using Express.js and TypeScript.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

0 watching

Forks

Sponsor this project

Packages

 
 
 

Contributors