~/projects/wefood

WeFood User Service

  • Java 21
  • Spring Boot 3
  • Spring Security
  • REST
  • PostgreSQL
  • Testcontainers
  • Docker

View on GitHub

Authentication and user-management service for a multi-tenant food ordering platform, designed around strict Hexagonal (Ports & Adapters) boundaries where the domain and application use cases carry zero framework dependencies.

  • Strict Framework-Independent Core: Core domain entities and use cases depend solely on pure Java interfaces; Spring Security BCrypt and Spring Data JPA are wired as interchangeable inbound/outbound adapters.
  • Ownership & Role-Aware RBAC: Fine-grained access control distinguishing ADMIN, RESTAURANT_OWNER, and CUSTOMER, enforcing resource ownership constraints alongside role escalation safeguards.
  • Automated Soft-Deletion: Implemented via global Hibernate filters (deletedFilter) to ensure deleted records remain invisible across relational queries without physical loss.
  • Integration Testing with Real Infrastructure: Verified with JUnit 5, Mockito, and Testcontainers against ephemeral PostgreSQL instances.

Dario Camargo

Software Engineer
Go, Java, Python

Currently at Mercado Livre
Proximity / Delivery Platforms

Location: São Paulo - Brazil - UTC-3

Languages:
- Portuguese (Native)
- English (Fluent)
- Spanish (B2)

Dario standing

Projects

Today I Learned