How falclop/celiahelp works
Project type and purpose
• This is a full-stack web application (“CeliaHelp”) for managing incidents.
• Backend: Java 21 + Spring Boot REST API (authentication, role/ user management, incident CRUD, logging).
• Frontend: static HTML/CSS/JS pages consuming the API.
• Data store: MySQL 8.0 with Spring Data JPA/Hibernate.
• Containers: Docker Compose orchestrates MySQL, phpMyAdmin, backend and frontend.
File structure
• Top-level:
• backend/ – Dockerfile + startup scripts (wait-for-it).
• frontend/ – Dockerfile + compiled static assets (dist/).
• src/main/java/com/celiahelp/… – Spring Boot code broken into controller, service(+impl), repository, model, dto, mapper, exception, security, config.
• src/main/resources/application.properties – DB and JWT settings.
• compose.yml – Docker Compose definition (services: mysql, phpmyadmin, backend, frontend).
• SQL scripts (01-init.sql, 02-data.sql) for initial schema and seed data.
• Tests under src/test.
• Build: Maven wrapper (mvnw) + pom.xml.
README for additional insights
• Describes REST endpoints and user flows.
• Notes Docker Compose usage and service URLs.