GeistHaus
log in · sign up

Automap API operation handlers in components-based project

aviskase.com

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:

0 pages link to this URL

No pages have linked to this URL yet.