Skip to content

pimuzzo/typescript-nestjs-template

Repository files navigation

typescript-nestjs-template

A simple and idiomatic REST API boilerplate built in TypeScript with NestJS, designed for clarity, modularity and extensibility.
Designed to showcase best practices in modular architecture, request validation, documentation, and automated testing.

✨ Features

  • 🧱 Modular and scalable structure
  • 🚦 RESTful routing with controllers and services
  • 📄 Swagger documentation at /docs
  • ✅ Request validation with class-validator
  • 🧪 Unit & E2E tests with Jest and Supertest
  • 🐳 Minimal Docker support
  • 🧰 Designed as a reusable starter template

📦 Stack

  • Node.js 20+
  • NestJS 10+
  • TypeScript (strict mode)
  • class-validator / class-transformer
  • Swagger via @nestjs/swagger
  • ESLint + Prettier
  • Jest + Supertest

🚀 Getting Started

# Install dependencies
yarn install

# Run the server in watch mode
yarn start:dev

About

Starter template for building RESTful APIs in TypeScript with NestJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published