Automap API operation handlers in components-based project
Node.js best practices repo is the most comprehensive list of style guides and architectural tips for Node.js apps I’ve seen. The very first of them is about structuring projects based on components instead of layers. For example, the typical layers-based layout would be: . ├── common │ └── utils.ts ├── routers │ ├── locations.router.ts │ └── users.router.ts ├── services │ ├── locations.service.ts │ └── users.service.ts └── index.ts In comparison, this is a components-based layout: