Nestjs Ts Template

screenshot of Nestjs Ts Template

A NestJS and TS production-grade template for enterprise - batteries included w/ Prisma, Compodoc, Swagger, Jest and more.

Overview:

This product is a production-grade template for enterprise applications, built with Nest and TypeScript. It includes a number of features and technologies such as Prisma, Compodoc, Swagger, Jest, and more. With a focus on scalability and best practices, this template aims to provide a strong foundation for developing robust applications.

Features:

  • Nest: Utilizes the Nest framework, a scalable and modular framework for building efficient server-side applications.
  • TypeScript: Built entirely using TypeScript, a statically typed superset of JavaScript that brings additional type safety and tooling support.
  • Linting w/ eslint and prettier: Integrates eslint and prettier, allowing for consistent and error-free code formatting and style.
  • Unit Testing w/ jest: Includes Jest, a popular testing framework, for writing and executing unit tests.
  • Integration and E2E Testing w/ cypress: Offers Cypress, a framework for end-to-end testing, to ensure the reliability and functionality of the application.
  • Logging w/ pino and pino-http: Implements pino and pino-http for efficient and customizable logging capabilities.
  • Documentation w/ compodoc: Includes Compodoc, a documentation tool for TypeScript projects, that generates comprehensive and readable documentation.
  • OpenAPI w/ swagger: Provides Swagger, a tool for designing, building, and documenting RESTful APIs, to create and maintain API documentation.
  • ORM w/ prisma and postgreSQL: Utilizes Prisma, an open-source database toolkit, with postgreSQL as the underlying database for efficient and scalable data management.
  • Release management w/ standard-version: Supports standard-version, a tool for automating version management and generating release notes.
  • Commitlint: Includes Commitlint, a tool for enforcing commit message conventions, to maintain a consistent and standardized commit history.
  • Commitizen: Integrates Commitizen, a command-line tool, to guide users in creating commit messages that follow the agreed-upon conventions.
  • Husky: Utilizes Husky, a Git hook tool, for running scripts at various Git lifecycle events for seamless integration with the development workflow.
  • Docker and Docker-compose: Provides Docker and Docker-compose support for containerization and easy deployment.

Summary:

This production-grade template for enterprise applications provides a comprehensive set of features and technologies to support the development of scalable and efficient applications. From Nest and TypeScript to Prisma and Swagger, it incorporates a range of tools and frameworks to ensure best practices and facilitate a seamless development workflow. With easy installation and extensive documentation, this template offers a solid foundation for building robust enterprise applications.