Don't worry

be happy

 

the best of angular in node

I'm Laura Ciro 

Software Developer at Yuxi Global

Really love cats

@ltciro

Hello!

 

.Net Conf Co

...

THE CHALLENGE

Create a scalable APP in Node from scratch

if you don't know what to do

Stop, breathe.

1. Identify Problem:

 What is scare me about it?

 

 

 

2. Find an approach:

   what could help me to handle it ?

 

3. Validate approach:

   what makes me happy?  

Approach does?

 what scares me?  

Frankenstein code

What could help me handle those fears?

What could help me handle those fears?

TypeScript

RxJS

Angular

CLI

 

npm install -g @nest/cli

 

Usage

 

nest new project-ngAtlanta

 

main.ts

 

Architecture

one place, one concern

Modules

 

Users

Auth

Messages

Clients

Folder Client Module

File Client Module

Modules

 

Controllers

Architecture

one place, one concern

GET

 

http://localhost:3000/clients/

Controllers

route global for this controller

Dependency Injection

DECORATOR VERB

Observable response

GET

 

http://localhost:3000/clients/Laura

Controllers

rest of the route

parameter name

Providers

 

 

Architecture

one place, one concern

Providers

Reusability
maintainability

uncoupled code blocks

Middlewares

Guards

Pipes

Interceptors

Filter Exception

Use interceptor Class for this route

Use interceptor Class for all routes

Use Guard Class for all routes

Scalability

platform agnostic

Websockets

Faster Development

dedicated modules

Why nest makes me happy?

it allows us to create a functional and scalable product faster

 

while encouraging me to learn design architecture patterns 

Growing

Schematics

Nx & Xplat Integration

 

 

Schematics 

Library 

Interface

Resolver

Configuration

Nx Integration

 

Full stack applications

 

Node back (NestJS app)

Angular app

Shared Code

The last thing that makes me happy

are kittens

Resources

 

¡Gracias  Totales!

 

I brought dulce de leche from colombia, if you want to try it, make a tweet thanking the organizers of ngatlanta with #ngAtlanta #thanks, and I will choose a winner

Made with Slides.com