Nest Logo

NESTJS

Un marco de Node.js framework for building efficient and scalable server-side applications

Explore the docs »

Introduction Course by Esteban Alvarez

Table of Contents
  1. First Steps
  2. Project commands
  3. Topics

First Steps

  • Install dependencies
# nestjs cli
$ npm i -g @nestjs/cli

# docker
$ npm i -g @nestjs/cli
  • Create project
$ nest new {project-name}

Project commands

  • Running app
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
  • Running tests
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
  • Docker
# init database
$ docker

# stop database
$ docker

Topics

Class 1

  • Introduction to NestJS
  • What's inside a NestJS Application
  • Lifecycle Events
  • Controllers
  • Providers
  • Modules

Class 2

  • Middlewares
  • Exceptions
  • Pipes
  • Interceptors
  • Guards

Class 3

  • User Module
  • Shared Module
  • TypeORM

Class 4

  • Auth
  • User CRUD
  • Swagger

Class 5

  • Jest
  • Accessing Lifecycle Events
  • Lazy-loading modules

Stay in touch


Made with ❤️ by Esteban Alvarez