Nestjs Boilerplate

screenshot of Nestjs Boilerplate
nestjs

NestJS Boilerplate (Authentication, TypeORM, Configuration, Swagger)

Overview:

This NestJS Boilerplate was created by VivifyIdeas and is designed to provide a quick and easy starting point for building NestJS applications. It includes features such as integrated TypeORM for working with different database types, automatic environment configuration, Swagger integration for documenting APIs, and preconfigured JWT authentication. It offers a guide for installation both outside and inside Docker containers.

Features:

  • TypeORM integrated: Allows for the use of various database types, including MySQL, PostgreSQL, MariaDB, and SQLite.
  • Environment Configuration: Integrated Configuration Module allows for easy injection of ConfigService and reading of environment variables from the .env file.
  • Swagger Integration: Already integrated Swagger for documenting RESTful APIs. Endpoints can be viewed at http://localhost/api/docs.
  • Authentication - JWT: Preconfigured JWT authentication for secure user authorization. The endpoints for Login and Registration are already implemented and can be accessed at http://localhost/api/docs.

Summary:

The NestJS Boilerplate by VivifyIdeas provides a convenient starting point for building NestJS applications. It includes features such as integrated TypeORM for flexible database management, easy environment configuration using the Configuration Module, Swagger integration for API documentation, and preconfigured JWT authentication for secure user authorization. The installation process is straightforward and can be done both outside and inside Docker containers. Overall, this boilerplate offers a solid foundation for developing NestJS applications efficiently.

nestjs
Nest

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

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.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.