Nest Boilerplate

screenshot of Nest Boilerplate
nestjs

A boilerplate for NestJS with support for database, TypeORm, swagger, config, rate limiting, logging, OpenTelemetry, validation, exception handling, docker, testing and CI.

Overview

Nest StarterCI is a boilerplate for NestJS that uses Fastify. It provides a set of features and configurations for building web applications with NestJS.

Features

  • Config: Allows for easy management of configurations using the node-config package.
  • Database: Uses Objection and Knex.js for database operations, with support for multiple databases.
  • Swagger: Automatically generates API documentation using Swagger.
  • Query Parsing: Provides URL query to DB query parsing functionality.
  • Logging: Includes a custom logger implementation using Winston.
  • Auth guard: Provides authentication guard functionality for securing routes.
  • Rate limiting: Allows for rate limiting of incoming requests.
  • Request body validation: Automatically validates the request body against a defined schema.
  • Exception Handling: Provides exception handling and error response formatting.
  • Docker support: Supports Docker for containerization.
  • Testing: Includes support for testing through continuous integration.

Summary

Nest StarterCI is a boilerplate for NestJS that provides a set of features and configurations to simplify the development of web applications. It includes features such as config management, database operations, API documentation generation, query parsing, logging, authentication, rate limiting, request body validation, exception handling, Docker support, and testing. With easy installation and configuration, Nest StarterCI is a powerful starting point for building scalable and maintainable NestJS applications.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.