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

The best of angular in node

By Laura Ciro

The best of angular in node

We have experienced a revolution in the Front-End with innovative ideas from Frameworks and libraries, however, how can our Back-End learn and benefit from this?, The architecture in Node can be a headache, Do not lose your mind!. Let's increase our technical skills and level of happiness, building robust applications in a simple, consistent and fast way, without losing the simplicity of Node with Nest.js; a framework based on the Angular design that provides the best concepts for scalable systems. Additionally, Nest.js is a short route for the approach of Angular developers to Node.js

  • 2,292