Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geersch/nestjs-getting-started

Develop enterprise back-end applications using the NestJS framework, Node.js and TypeScript. You'll learn how to setup a NestJS application, create controllers, route handlers, validate input, setup Swagger (OpenAPI), configure middleware, and more.
https://github.com/geersch/nestjs-getting-started

nestjs swagger typescript

Last synced: 2 months ago
JSON representation

Develop enterprise back-end applications using the NestJS framework, Node.js and TypeScript. You'll learn how to setup a NestJS application, create controllers, route handlers, validate input, setup Swagger (OpenAPI), configure middleware, and more.

Awesome Lists containing this project

README

        

# NestJS: Getting Started

The NestJS application accompanying this course can be found inside the `acme-api` folder.

## Getting Started with NestJS

1. [What is NestJS?](./docs/01-getting-started-with-nestjs.md)
1. [Prerequisites](./docs/01-getting-started-with-nestjs.md)
1. [NestJS CLI](./docs/01-getting-started-with-nestjs.md)
1. [What We'll Be Building in this Course](./docs/01-getting-started-with-nestjs.md)

## REST API

1. [Scaffold Project via the CLI](./docs/02-rest-api.md)
2. [Project Structure](./docs/02-rest-api.md)
3. [NestJS Modules](./docs/02-rest-api.md)
4. [Creating a Car Insurance Quote Module](./docs/02-rest-api.md)
5. [Creating our First Controller](./docs/02-rest-api.md)
6. [Endpoint to Save Car Insurance Quotes](./docs/02-rest-api.md)

## Pipes: Validations & Transformations

1. [What are Pipes?](./docs/03-pipes-validations-and-transformations.md)
2. [Validate the Car Insurance Quote Payload](./docs/03-pipes-validations-and-transformations.md)
3. [Transforming the Payload](./docs/03-pipes-validations-and-transformations.md)

## OpenAPI Specification

1. [Setting up Swagger](./docs/04-openapi-specification.md)
2. [Decorating Controller Methods](./docs/04-openapi-specification.md)
3. [Decorating DTO Properties](./docs/04-openapi-specification.md)
4. [Grouping Resources with Tags](./docs/04-openapi-specification.md)

## Authentication

1. [Passport](./docs/05-authentication.md)
2. [Local Passport Strategy](./docs/05-authentication.md)
3. [JSON Web Token](./docs/05-authentication.md)
4. [JWT Passport Strategy](./docs/05-authentication.md)
5. [Guards](./docs/05-authentication.md)
6. [Swagger UI](./docs/05-authentication.md)

## Business Logic

1. [The Rules](./docs/06-business-logic.md)
2. [Quote Service](./docs/06-business-logic.md)

## Exception Filters

1. [What is an Exception Filter?](./docs/07-exception-filters.md)
2. [Catching Custom Exceptions with Filters](./docs/07-exception-filters.md)
3. [Binding Filters](./docs/07-exception-filters.md)

## Middleware

1. [What is Middleware?](./docs/08-middleware.md)
2. [Configuring Middleware](./docs/08-middleware.md)
3. [ExpressJS Middleware](./docs/08-middleware.md)

## Interceptors

1. [What are Interceptors?](./docs/09-interceptors.md)
2. [Configuring an Interceptor](./docs/09-interceptors.md)
3. [Custom Interceptor](./docs/09-interceptors.md)

## Add PostgreSQL with Knex

1. [Prerequisite: Install Docker](./docs/10-add-postgresql-with-knex.md)
2. [Running PostgreSQL in a Docker Container](./docs/10-add-postgresql-with-knex.md)
3. [Introducing Knex](./docs/10-add-postgresql-with-knex.md)
4. [Persisting the Car Insurance Quotes](./docs/10-add-postgresql-with-knex.md)

## Prisma

1. [Introducing Prisma](./docs/11-prisma.md)
2. [Prisma Schema](./docs/11-prisma.md)
3. [Prisma Client](./docs/11-prisma.md)
4. [Persisting the Car Insurance Quotes](./docs/11-prisma.md)
5. [Car Brand Model](./docs/11-prisma.md)
6. [Seeding the Database](./docs/11-prisma.md)
7. [User Model](./docs/11-prisma.md)

## Vitest

1. [Introducing Vitest](./docs/12-vitest.md)
2. [Removing Jest](./docs/12-vitest.md)
3. [Adding Vitest](./docs/12-vitest.md)
4. [Unit Tests](./docs/12-vitest.md)
5. [End-to-end (e2e) Tests](./docs/12-vitest.md)
6. [Debugging](./docs/12-vitest.md)
7. [Caveats](./docs/12-vitest.md)
8. [Known Issues](./docs/12-vitest.md)

## Deploying to Heroku

1. [Prerequisites](./docs/13-deploying-to-heroku.md)
2. [Environment Variables](./docs/13-deploying-to-heroku.md)
3. [The Procfile](./docs/13-deploying-to-heroku.md)
4. [Creating a Heroku Application](./docs/13-deploying-to-heroku.md)
5. [Setting up a PostgreSQL Database](./docs/13-deploying-to-heroku.md)
6. [Application Environment](./docs/13-deploying-to-heroku.md)
7. [Deployment](./docs/13-deploying-to-heroku.md)

## Other Building Blocks

1. [Other Building Blocks](./docs/14-other-building-blocks.md)