Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
91

Latest Updates

Documenting code, one commit at a time.

Python 6 posts
×

Refactoring to Hexagonal Architecture: A Clean Slate for Ryuu-no-Mi

Refactoring for Resilience

Technical debt is the gravity of software development: if you don't fight it, it eventually grounds your project. In the Ryuu-no-Mi marketplace project, we reached a point where the monolithic organization of our code was slowing down feature iteration. By shifting to a Hexagonal Architecture, we have decoupled our business logic from infrastructure concerns, making

Scaling Data Access: Implementing the Repository Pattern in Ryuu-no-Mi

Designing a scalable data layer is a foundational challenge in any growing application. As we continue to develop the Ryuu-no-Mi marketplace, we are shifting our focus toward a more robust architectural approach by implementing the Repository Pattern to decouple our business logic from database-specific implementation details.

The Challenge: Coupling Logic to Storage

Directly querying

Establishing a Robust Database Foundation: Initial Schema Design with SQLAlchemy

Starting the Foundation

I have recently started working on the Ryuu-no-Mi/marketplace project, an initiative aimed at building a scalable digital marketplace. A critical first step in any data-driven application is defining the relational structure that will serve as the backbone of the entire system.

Designing the Schema

To ensure type safety and ease of maintenance, I have chosen to

Scaling Complexity: Refactoring to Hexagonal Architecture

Rethinking Application Structure

Maintaining a clean separation of concerns is the difference between a project that evolves gracefully and one that becomes a tangled web of dependencies. Working on the Ryuu-no-Mi/marketplace project, we recently underwent a significant refactor to transition the codebase toward a formal Hexagonal Architecture (Ports and Adapters).

Why Hexagonal?