tlandeka/authentication-microservice-with-domain-driven-design
52.7
Adequate · 9 November 2026
3.7k
lines of production code
Java
primary language
10
measurements over time
What this system is
This system is a Java-based Spring Boot application that implements a Domain-Driven Design architecture for user management. It provides core authentication and account management capabilities, including email and social login, password recovery, and registration workflows. The codebase is containerized with Docker and PostgreSQL, featuring a command/query pattern for handling user operations and comprehensive test coverage for these flows.
Features
Added Maven Wrapper for reproducible builds
The project now includes the Maven Wrapper, which ensures that builds use a specific, pinned version of Maven (3.8.3) and the Maven Wrapper JAR (0.5.6). This allows developers to build the project without pre-installing Maven, as the correct version is downloaded automatically.
.mvn · high confidence
Initial project scaffolding and CI/CD configuration
The repository is initialized with essential build and deployment infrastructure. A Maven wrapper (mvnw) and its configuration are added to standardize the Java build environment. Docker and Docker Compose files are introduced to containerize the application and its PostgreSQL 12 database dependency, enabling consistent local and CI testing environments. A SQL initialization script is included to set up the database schema and user. Additionally, the project's .gitignore is updated to exclude IDE-specific files and build artifacts, and the README is expanded to document the Domain-Driven Design approach, architecture, and testing procedures.
(repo-wide) · high confidence
Introduce command and query handlers for authentication, registration, and password recovery
The application now implements a command/query-based architecture for user authentication and account management. Users can log in via email or social providers (Facebook, Google) and manage sessions. The system also supports password recovery workflows, including generating and sending recovery codes, verifying recovery codes, and updating passwords. Additionally, users can register new accounts, confirm their registration, and change their passwords. These features are exposed through specific command and query handlers that process requests and return appropriate DTOs.
src/main · high confidence
Test coverage
Added integration and unit tests for authentication and registration flows
Added comprehensive test coverage for the authentication and registration subsystems. Integration tests verify the behavior of command handlers for email, Facebook, and Google login, as well as logout, session management, password recovery, user registration confirmation, and user details updates. Unit tests validate domain rules for user registration status, password recovery code expiration, password matching, and email uniqueness, ensuring that business rules are correctly enforced across the application.
src/test · high confidence
Dependencies
Initial Maven project setup with Spring Boot and security dependencies
Added the project's primary build configuration (pom.xml), establishing a Spring Boot 2.6.2-based Java 11 application. The configuration includes dependencies for Spring Security (including OAuth2 client), JWT handling (jjwt), database migration (Flyway), and various utility libraries (Lombok, ModelMapper, JavaFaker, Mailgun, Jersey, Gson, Swagger/Springfox, Mockito). It also references a local repository and a shared 'ddd\_common' library.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 52 → 53 (+1.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 65 → 65 (+0.0)
- Architecture 90 → 89 (-0.4)
- Maturity 60 → 65 (+5.0)
- Readiness 35 → 35 (+0.0)
- Security 90 → 87 (-3.0)
- Domain Modelling 65 → 65 (+0.0)
New (1)
- Documentation: no build, run or usage example (README.md)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
tlandeka/authentication-microservice-with-domain-driven-design was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit a7cfd82824d91d90e1f07a613cdeae1bd59f91e0 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.