/tsexp

Primary LanguageTypeScript

Modular monolith

Inspiration

Google following keywords:

  • hexagonal architecture
  • fastify: modular monolith
  • component driven architecture
  • nodejs best practise: 1.1 Structure your solution by business components
  • https://practica.dev/
  • inter module communication, EventEmitter2

NodeJS 20 benefits

  • support for envs
  • native websocket
  • native http web server
  • test framework

bootstrap TS project

./boostrap.sh
mv newproject 0xNewProjectName

https://dev.to/franciscomendes10866/interact-with-relational-databases-using-typeorm-w-javascript-17pb NICE: https://github.com/typeorm/typescript-express-example/blob/master/src/index.ts