Every page is a project. The book opens in a moment.
EVUniversidad NacionalExar Víquez MasísIngeniería en Sistemas
Café deCosta Rica
TDD first
Concepts before code
Human decides
EV
Drag a page, press ←→ or click the page edge.
Turn your phone sideways for the full book.
Field notes
Exar Víquez Masís
Backend systems with Java, Spring Boot and Hexagonal Architecture
Universidad Nacional de Costa Rica
Contents5 projects
What's inside
AboutBackendJavaSpring BootOpen to work
Hi, I'm Exar, a backend developer.
Systems Engineering student at Universidad Nacional de Costa Rica. I build RESTful APIs and microservices with Java and Spring Boot, designed around Hexagonal and Clean Architecture and SOLID.
I work spec-first and test-first, with AI agents that execute while a human decides.
JavaSpring BootMicroservicesSDDTDD
StackTools I build with
The toolbox
Backend
JavaSpring BootSpring SecurityPythonFastAPIREST APIsMicroservicesJWT and RBAC
Data and messaging
MySQLPostgreSQLMongoDBKafkaJPA and HibernateFlywayAlembic
Frontend and cloud
Vue 3AWS LambdaAmazon RDSDockerKeycloakMicrosoft Entra ID
DomainEntities and policies. No framework imports.
ApplicationUse cases orchestrate through ports.
AdaptersREST, persistence, Kafka and SMTP, swappable.
MethodSpec first, test first
Human decides
1ExploreMap the code, compare approaches.
2SpecifyRequirements and scenarios first.
3DesignChoose the architecture, record decisions.
4TestRed first: behavior, not implementation.
5ImplementAgents code against the spec.
6VerifyValidate against the spec, then archive.
PrinciplesPhilosophy
What I keep
Concepts before code
Understand the problem and the pattern first. Code is the last step.
AI is a tool
We direct, AI executes. Know what to ask, and why the answer may be wrong.
Foundations first
Frameworks change. HTTP, SQL, OOP and architecture do not.
Tests describe behavior
If I cannot write the test, I do not understand the requirement yet.
SGTESkillsDevelopmentStrategyPrivate team repository
Talent and strategy, one platform.
For Establishment Labs: a central system that replaces manual Excel tracking of skills, development plans and strategic planning.
PythonFastAPIVue 3
SGTEEstablishment Labs11 modules
Sistema de Gestión de Talento y Estrategia.
A Systems Engineering II project at Universidad Nacional for Establishment Labs S.A. Skills, professional development plans, FODA and Hoshin Kanri planning, dashboards and administration, in eleven modules that share one hexagonal structure.
Single sign-on with Microsoft Entra ID, four roles
Daily BambooHR sync through a read-only Snowflake view
The reference module of SGTE: a skills catalog per department and a matrix for every collaborator.
FastAPIVue 3Hexagonal
Skills matrixModule A
From catalog to development plan.
Skill levels are never edited silently: a collaborator proposes, a leader approves, and the gap to the target level feeds the Professional Development Plan.
1CatalogSkills defined per department.
2MatrixOne row of levels per collaborator.
3Self-assessmentCollaborators rate their own level.
A Java 21 platform that accepts template-based notifications, persists their lifecycle, routes work by priority through Kafka, delivers through channel providers and keeps a searchable audit trail. Six Spring Boot services in Hexagonal Architecture.