Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
62

Latest Updates

Documenting code, one commit at a time.

AWS 2 posts
×
0 Node.js MongoDB AWS

Scaling Data Services: Implementing Controllers in the Dones-node Project

Architectural Foundations

In the dones-node project, our focus has recently shifted toward improving the maintainability and separation of concerns within our backend infrastructure. By transitioning to a structured controller-based architecture, we are moving away from monolithic request handling toward a more modular approach that facilitates testing and future expansion.

Scaling backend-dones-api with Hexagonal Architecture

The Architectural Challenge

Maintaining a clean separation of concerns in the backend-dones-api project became a priority as our feature set expanded. When your core business logic is tightly coupled to external frameworks like Express or databases like MongoDB, refactoring becomes risky and unit testing becomes a chore.

The Hexagonal Approach

We moved toward a Hexagonal Architecture