How ridoykj/energy-manager works
Project type and purpose
• From the README (“energy-manager”) and the file tree, this is a standalone JavaFX desktop application built on top of Spring Boot.
• It’s an energy-management system that uses JavaFX for its GUI layer, Spring’s dependency injection and JDBC templates for back-end logic, a MySQL (or H2 dev) database for persistence, and JasperReports for reporting.
File structure
• Top‐level pom.xml indicates a Maven‐based Java project.
• src/main/java/com/itbd/energymanager: contains both a Spring Boot entry point (EnergyManagerApplication.java) and a JavaFXApplication launcher.
• config/: Spring configuration classes (AppConfig, MySqlDbConfig).
• constant/: application constants and enums.
• dao/ and repos/: DAO interfaces and Spring Data Repository interfaces — the persistence layer.
• services/: business‐logic layer, including a subpackage for JasperReports integration.
• utiles/: helper classes (JSON utilities, image handling, etc.).
• view/: JavaFX controller classes.
README for additional insights
• The README is minimal, so all substantive architecture details come from the source tree.