from idea to implementation

projects.

applications and architectures i developed.

open-source template

java clean architecture template

a production-minded http api template built with java 25 and spring boot 4, with layer dependencies enforced by archunit.

  • java 25
  • spring boot 4
  • gradle
  • postgresql
  • flyway
architecture and implementation details
  • split domain, application, infrastructure and web into package-level layers; kept the domain framework-independent and wired infrastructure through application ports.
  • implemented register, login and jwt authentication, plus create, list, update, complete and delete endpoints for user-owned todos.
  • added optimistic locking, rfc 9457 problem details, validation, pagination and safe resource-ownership rules.
  • made the dependency rule executable with archunit, added a 70% line-coverage gate for the domain and application layers, and covered the service with junit 6, mockito and testcontainers tests.
  • configured postgresql 18 with flyway migrations, springdoc openapi/scalar, spotless, error prone and jacoco in a gradle-based ci quality gate.
explore source code
personal project

distributed ledger system

a personal java project that explores hexagonal architecture and ddd through an auditable money transfer system with optimistic locking and idempotent transactions.

  • java 21
  • spring boot 3
  • postgresql
  • redis
  • kafka
architecture and implementation details
  • kept the domain framework-independent: account and transaction aggregates, money and account id value objects, domain events and inbound / outbound ports.
  • orchestrated the transfer use case as an atomic withdraw and deposit with transaction boundaries, state management and retry on optimistic locking conflicts.
  • used version-based optimistic locking, idempotency by transaction reference and a double-entry ledger schema that keeps a complete audit trail.
  • verified the adapters with testcontainers integration tests, k6 load scripts and architecture decision records for the hexagonal structure.
explore source code
open-source template

.net clean architecture template

a .net 10 project template for api development, with separated layers, ready-to-run use cases, authentication, observability and automated tests.

  • c#
  • .net 10
  • asp.net core
  • ef core
  • postgresql
architecture and implementation details
  • separated shared kernel, domain, application, infrastructure and web api; domain includes sample entities and domain events.
  • implemented todo and user use cases with fluentvalidation validators and lightweight cqrs handlers (without mediatr), wired with scrutor decorators for logging and validation.
  • configured jwt authentication with opaque, hashed refresh tokens that rotate on every use and detect reuse, permission-based authorization, ef core/postgresql migrations, hybridcache with invalidation and a background job that cleans up expired tokens.
  • added minimal api endpoints, an rfc 7807 problem details error pipeline, rate limits, correlation ids, scalar/openapi, split liveness/readiness health checks, opentelemetry and serilog/seq; tests cover architecture boundaries, application behavior and http integration with testcontainers.
  • shipped as a nuget template package (dotnet new cleanarch): every release is verified end to end in ci by packing the template, generating a solution from it and running its tests.
explore source code
personal project

e-commerce microservices platform

a personal .net project exploring clean architecture, ddd and service communication through order, stock and payment flows.

  • c#
  • .net 10
  • asp.net core
  • aspire
  • ef core
architecture and implementation details
  • designed a distributed architecture consisting of 11 independent microservices: gateway, order, inventory, payment, fulfillment, iam, catalog, customer, search, notification and promotion using clean architecture & ddd.
  • applied choreography saga and transactional outbox patterns for asynchronous event-driven inter-service communication via rabbitmq and masstransit.
  • integrated synchronous grpc protocol for high-performance internal service communication.
  • managed external client traffic via yarp api gateway; applied native aot compilation strategy for low latency and optimized resource usage at gateway level.
  • implemented cqrs pattern to separate read and write responsibilities; established valkey distributed caching infrastructure to boost data access performance.
  • configured end-to-end distributed tracing, centralized logging, slo-based alerting and centralized auditing with opentelemetry, prometheus and grafana.
  • established consumer-driven contract (cdc) testing with pactnet to maintain microservice contract integrity and created independent github actions ci/cd pipelines for each service.
explore source code