How rioacosta/s3.03escaperoom works
Project type and purpose
• This is a monolithic, console-based Java application (“Escape Room Management System”) that uses a layered architecture to manage rooms, hints, decorations, tickets, players and notifications via a MySQL database.
File structure
• Top-level artifacts
• pom.xml – Maven build
• src/main/java – source code
• src/main/resources – SQL schema & logging config
• Layers in src/main/java/com/escapeRoom
• controllers – entry point for user actions
• services (named “handlers”) – business logic
• dao – data-access layer with interfaces and MySQL implementations
• entities – domain model (EscapeRoom, Player, Hint, etc.) + enums
• roombuilder – builder pattern for constructing EscapeRoom objects
• notifications – observer pattern (subjects & subscribers)
• manager – MenuManager for console navigation
• utils – common helpers (InputUtils)
• Main.java ties everything together and starts the console UI.
README for additional insights
• Technologies: Java 24, Maven, MySQL
• Features: CRUD on rooms, hints, decorations; ticket sales; newsletter notifications; console menus
• Patterns: DAO, Builder, Observer, MVC-style layering