DEV Community

Discussion on: Designing a better architecture for a Node.js API

Collapse
 
pacheco profile image
Thiago Pacheco

Yes, in this architecture I chose to use a service for each model.
If you have a very large application with a lot of models, then what I would recommend is to use a microservices architecture.

That could be done having various micro applications like this one, each running on a separate docker container. This actually is a content I am working on for the next post.

Collapse
 
mssi90 profile image
mssi90

Great! Thanks for the recommendation.

Regards.