available booked too small โ click an available table to reserve it.
Reservations
Switch the role to Staff to cancel reservations โ a small taste of the role-based access in the Java core.
The Java core
- Domain model โ Restaurant โ Section โ Table โ Reservation, plus Customer and User (records + enums).
- CSV repositories โ a generic
CsvRepository<T>with id sequencing and RFC-4180-style quoting. - Auth โ PBKDF2 password hashing and a
Rolehierarchy (admin โธ manager โธ staff โธ customer). - Reservation engine โ capacity validation, availability, and overlap conflict detection over 90-minute seatings.
- Tested โ
mvn testruns 12 JUnit 5 cases over the services and repositories.
mvn test # 12 JUnit 5 tests
mvn package # runnable jar (shaded)
java -jar target/valinor-1.0.0.jar # end-to-end demo