Skip to content

v1.0.0

Choose a tag to compare

@cloudxdam cloudxdam released this 07 Oct 10:21
· 9 commits to main since this release

RestoReserve is a Spring Boot REST API for managing restaurant tables, reservations
and user access with JWT authentication. It started as an academic project and has been
reworked with a focus on backend fundamentals: layered architecture, validation,
security, persistence, testing and business rules.

What it does

  • User registration and login with JWT — stateless authentication, BCrypt hashing, role-based access control (ADMIN / USER)
  • Restaurant table management with filtering by status, location and capacity
  • Reservation business rules: future dates, capacity limits, no overlapping bookings, two-hour windows
  • Penalization policy for late cancellations, with automatic user banning past a threshold
  • Admin operations: table CRUD, penalization reset, user reactivation
  • OpenAPI / Swagger UI documentation

Under the hood

  • Java 17 · Spring Boot 3.5.14 · Spring Security · Spring Data JPA
  • Two database profiles: H2 (default, zero setup) and PostgreSQL (optional, via Docker Compose)
  • 10 passing tests — JUnit 5, Mockito, Spring Security Test
  • GitHub Actions CI running the suite on every pull request
  • Maven Wrapper included

Getting started

./mvnw test                      # run the test suite (no Docker required)
./mvnw spring-boot:run           # start with the default H2 profile
PostgreSQL requires Docker and a local .env — see
Configure the environment (https://github.com/cloudxdam/restoreserve-api#configure-the-environment)
and Start the application with PostgreSQL (https://github.com/cloudxdam/restoreserve-api#start-the-application-with-postgresql-optional).
Full documentation, API reference and demo credentials:
README (https://github.com/cloudxdam/restoreserve-api)