Nestjs Starter

screenshot of Nestjs Starter
nestjs
nextjs
react

NestJS MVC boilerplate for rapid development with battle-tested standards.

Overview:

The NestJS StarterCI is a NestJS MVC boilerplate that allows for rapid development with battle-tested standards. It provides a strong foundation for building applications, with REST and GraphQL modules, a database using TypeORM, authentication via Passport.js, and integration with Next.js for the frontend. The boilerplate also includes features such as Docker setup, TypeScript and ESLint integration, CI via GitHub Actions, testing with Jest, and deployment setups for Heroku. It offers convenient functionality for running tasks, such as database seeding, and integrates with popular authentication methods like AWS Cognito and JWT strategy. The project is available on GitHub and has production, staging, and development environments, along with usage examples and useful commands.

Features:

  • Example REST and GraphQL modules
  • Database using TypeORM
  • Next.js integration for React on the frontend
  • Typed queries and results with GraphQL out of the box
  • Authentication via Passport.js, including Social providers, AWS Cognito, and JWT strategy for both REST and GraphQL
  • Docker setup
  • TypeScript and ESLint integration
  • CI via GitHub Actions
  • Running tasks (e.g. DB seeding) via nestjs-console
  • Unit and integration testing with Jest
  • Heroku deployment setup
  • Google Analytics 4 integration

Summary:

The NestJS StarterCI is a comprehensive boilerplate for developing NestJS applications. It provides a solid foundation with features such as REST and GraphQL modules, TypeORM integration, authentication, and Next.js integration. With its Docker setup, TypeScript and ESLint integration, CI capabilities, and Heroku deployment setup, it offers convenience and efficiency for developers. The inclusion of functionality for running tasks and testing with Jest further enhances its usefulness. Overall, the NestJS StarterCI is a well-rounded solution for developing robust NestJS applications.

nestjs
Nest

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

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

apollo
Apollo

Apollo is an open-source platform for building GraphQL APIs that connects with any data source. It provides a powerful set of tools and features for developers, including client and server-side caching, real-time data synchronization, and a seamless integration with popular frontend frameworks.

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.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

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.