Nestjs Starter

screenshot of Nestjs Starter
nestjs

Nest framework TypeScript starter :coffee:

Overview:

The nestjs/typescript-starter repository is a TypeScript starter repository for the Nest framework. It provides a set of features and configurations to help developers quickly set up a Nest project using TypeScript.

Features:

  • TypeScript Path Aliases: Configures TypeScript Path Aliases, allowing for cleaner and more organized imports.
  • Jest & module-alias imports paths config: Sets up Jest and configures module-alias import paths using ts-paths-fix.
  • Yarn for packages installation: Uses Yarn for package installation, providing faster and more efficient dependency management.
  • check-yarn utility: Prevents packages installation via npm, ensuring the usage of Yarn.
  • Additional Jest matchers from jest-extended: Configures and adds additional Jest matchers from jest-extended, expanding the testing capabilities.
  • ESLint for linting JS & TS files: Uses ESLint for linting both JavaScript and TypeScript files, providing static code analysis and enforcing coding standards.
  • Very strict linting config: Includes a strict linting configuration based on popular linting rules (airbnb, unicorn, and other plugins).
  • Git hooks via husky: Sets up Git hooks using husky, enabling automated actions before commits or pushes.
  • Utility to automatically pull updates from this template repository: Includes a utility script to automatically pull updates from the template repository, keeping the project up-to-date.

Summary:

The nestjs/typescript-starter repository provides a well-configured TypeScript starter template for the Nest framework. It includes features such as TypeScript Path Aliases, Jest configuration, Yarn package management, strict linting rules, Git hooks, and more. The installation guide offers different options for cloning or forking the repository based on specific needs.

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.