WarsawJS

We talk about JavaScript. Each month in Warsaw, Poland.

Clean Architecture
in NodeJS

Piotr Błaszczak @MyFlowPL
myflowpl.github.io/talk-clean-architecture-in-nodejs

Piotr Błaszczak

full-stack web developer since 2007


Agenda

Robert C. Martin

youtu.be/Nsjsiz2A9mg SlackMap

Clean Architecture



Good architect

maximize the amount of decisions

he can deffer

SlackMap
source: Uncle Bob Archive.



Tools

in

JavaScript




TypeScript

Controller

Model

swagger-codegen-cli




Dependency Injection

InversifyJS

Container

Testing

Testing

Environements

Universal code Development Production
SlackMap
source: Uncle Bob Archive.
SlackMap
SlackMap

github.com/SlackMap

SlackMap

@slackmap/nodegen

npm install -g @slackmap/nodegen

  • nodegen generate controller User
  • nodegen test
  • nodegen build
  • nodegen deploy stage

Thank You !!!

Piotr Błaszczak

         pedro.blaszczak@gmail.com
         github.com/MyFlowPL
         @MyFlowPL
         FB/piotr.blaszczak

See you next month at WarsawJS



Questions & Comments