Alex Sousa Dev

About

Alex Sousa

Alex Sousa

I share what I learn about development, architecture, and technology in my day-to-day work.

Senior Full Stack Developer with a focus on backend, architecture, scalable systems, business logic, and database and API optimization.

What I write about

Most read

  • Mastering Git in Daily Workflow

    Have you ever written a commit message like "final fixes" or "now it works"? If so, you know how quickly a project's git history can turn into chaos. In software development, writing clean commits and knowing how to troubleshoot Git isn't a cosmetic preference, it's a fundamental engineering practice. In this post, I’ve put together the essential commands and patterns to keep your repository history readable, maintainable, and professional.

  • Spring Modulith in Practice: Building Scalable Modular Monoliths

    The software industry faces a constant dilemma: start with a monolith and risk creating a "Big Ball of Mud" (indecipherable spaghetti code) or start with microservices and be swallowed by operational complexity on day one. This is where the Modular Monolith shines and Spring Modulith is the definitive tool in the Java ecosystem to ensure this architecture is enforced. It allows us to apply Domain-Driven Design (DDD) concepts and keep code isolated and testable.

  • Living Documentation: Auto-generating C4 Diagrams with Spring Modulith

    In our post on Spring Modulith, we left a golden tip at the end: the ability to generate documentation based on code. We’re going to explore how to turn your code into the single source of truth (Docs as Code), using Spring Modulith to automatically export PlantUML and C4 Model diagrams on every build.