Introducción



NestJS
 

I'm Bezael Pérez 

Software Developer @ Comandi Dashboard

 

Hey!

 

/bezael

@bezael_dev

/dominicode

What is NestJS?

A progressive Node.js framework for building efficient, reliable and scalable server-side applications.

1. Controllers:

Are responsible for handling inconming requests and returning responded to the client.

 

 

 

3. Guards:
Is a class annotated with the @Injectable() decorator.
Guards should implement the CanActivate interface.

 

2. Modules:

Is a class annotated with a @Module decorator.   
Provides metadata that Nest makes user of to organize the application structure.

 

 

4. Middlewares:

Is a function which is called before the route handler.

 

 

 

5. Pipes:

Is a class annotated with the @Injectable() decorator.

 

6. Database:

Allowing you to easily integrate with any SQL or NoSQL database.  

 

CLI

 

npm  i -g @nest/cli

 

Use

 

nest new project-dominicode

 

CLI

 

ng add @nestjs/ng-universal

 

platform agnostic

Websockets

The Building Blocks

 

Conclusion

TypeScript

RxJS

Angular

NestJS

Resources

 

  • https://docs.nestjs.com/
     
  • https://slides.com/bezaelperez/the-best-of-angular-in-node
  • https://github.com/bezael/fullstack-angular-nestjs

 

Questions

Made with Slides.com