Nestjs Boilerplate

screenshot of Nestjs Boilerplate

Manage your APIs. Write documents, and jump to different versions.

Overview

The Nestjs-boilerplate is a tool designed to help developers manage their APIs more efficiently. With features like hot-reload, yaml configuration, fallback versioning, Swagger documentation, and various code functionalities, it aims to streamline the development and documentation process.

Features

  • Hot-reload: Developers can enjoy convenient development without the need to wait for typescript to compile the entire project after each change.
  • Yaml configuration: Keep app settings organized by writing insensitive values in the config.yaml file.
  • Fallback version: Easily version your APIs and automatically refer to the closest previous version that supports a specific API if it's not available in the latest version.
  • Swagger (Easy versioning): Write documentation for your APIs and easily version the documentation.
  • Mongoose: An object modeling tool for MongoDB, allowing for smoother interaction with the database.
  • Helmet: Provides various security middleware functions to help protect the application from common web vulnerabilities.
  • CORS: Allows cross-origin resource sharing to provide controlled access to resources.
  • Compression: Enables gzip compression for responses to reduce network utilization.
  • Health checker: Includes health check endpoints to monitor the ping response and the health of the mongoose database.

Summary

The Nestjs-boilerplate is a powerful tool for managing APIs in a simplified and efficient manner. With features like hot-reload, yaml configuration, fallback versioning, and Swagger documentation, developers can streamline the development process and easily maintain their APIs. Additionally, the inclusion of Mongoose, Helmet, CORS, Compression, and Health checker functionalities enhances the overall security and performance of the application.