Docs
NestJS Quickstart

NestJS Quickstart Guide

NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications. It uses TypeScript by default, which enhances productivity and maintainability. NestJS incorporates elements from Object-Oriented Programming, Functional Programming, and Functional Reactive Programming.

Why Choose NestJS?

  • Modular Architecture: Facilitates code organization and reuse.
  • TypeScript Support: Out-of-the-box TypeScript support ensures type safety and development efficiency.
  • Dependency Injection: Built-in dependency injection for better application structure and testing.
  • Ecosystem: A rich ecosystem of tools and libraries, including support for GraphQL, WebSockets, and more.

Official Documentation

This guide goes through the basics of NestJS. for a more indepth look, check out their official documentation.

Installation

To start using NestJS, you need to install the CLI:

Terminal
npm i -g @nestjs/cli

Creating a New Project

Generate a new NestJS project using the CLI:

Terminal
nest new project-name

Running the Application

Navigate to the project directory and start the application:

Terminal
cd project-name
npm run start

Awesome! You should be all set to integrate NestJS tRPC into your application! 🎉