Adriano CruzEN/ES
Projects

HomeyPark

Parking reservation system

Academic, UPC, 2024

An API for reserving parking spaces between private users, with security and architecture as the priority.

The problem

Reserving a parking space between private users needs secure identities and a clear separation between reads and writes.

My role

I implemented the security, refactored the Profiles context and split reads from writes.

Features

  • Authentication and authorization with Spring Security and JWT.
  • Profiles context refactored with Clean Architecture.
  • Reads split from writes with CQRS.
  • Logic covered with tests in JUnit 5 and Mockito.

Architecture

Security with Spring Security and JWT, the Profiles context refactored with Clean Architecture, and reads split from writes with CQRS. The logic is covered with tests in JUnit 5 and Mockito.

Challenges

Keeping the architecture clean and tested as the domain grew.

Outcome

A secure, test-covered API, delivered as an academic project at UPC.

Stack

Spring Security, JWT, CQRS, JUnit 5, Mockito

GitHub