Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Progressive Nest

Progressive Nest

Progressive Node.js Framework with Nest

Jecelyn Yeen

October 18, 2018
Tweet

More Decks by Jecelyn Yeen

Other Decks in Programming

Transcript

  1. @JecelynYeen From Kuala Lumpur, Malaysia • GDE - Web technologies,

    Angular • Software Architect @ Randstad Organizer:
  2. • node is good, but… • nest is here to…

    • nest core concepts - live coding +
  3. is simple up to a certain point When build medium

    - large applications, the definition of simple change.
  4. Application Issues (Medium to Large) Lack of common architecture Fragile

    execution Problematic growth Structure Robustness Scalability
  5. “We build our computer (systems) the way we build our

    cities. Over time, without a plan, on top of ruins.” - Ellen Ullman
  6. $ npm install -g @nestjs/cli $ nest new lego-house CREATE

    /lego-house/.prettierrc (51 bytes) CREATE /lego-house/README.md (339 bytes) CREATE /lego-house/nodemon.json (147 bytes) CREATE /lego-house/package.json (1633 bytes) CREATE /lego-house/src/app.controller.spec.ts (639 bytes) CREATE /lego-house/src/app.controller.ts (266 bytes) CREATE /lego-house/src/app.module.ts (250 bytes) CREATE /lego-house/src/app.service.ts (138 bytes) CREATE /lego-house/src/main.hmr.ts (329 bytes) CREATE /lego-house/src/main.ts (208 bytes) CREATE /lego-house/test/app.e2e-spec.ts (593 bytes) CREATE /lego-house/test/jest-e2e.json (154 bytes) CREATE /lego-house/tsconfig.json (477 bytes) CREATE /lego-house/tslint.json (895 bytes) CREATE /lego-house/webpack.config.js (695 bytes) Naming
  7. Core concepts Controllers Providers Modules Middleware Exception filters Pipes Guards

    Interceptors https://docs.nestjs.com/first-steps Controllers Providers Modules Middleware
  8. “It’s never on how difficult is to write bad code,

    it’s on how easy is to write good code.”