How georgepanaretos/employee-manager-app works
Project type and purpose
• This is a full-stack Employee Manager application that provides CRUD operations on employees and departments.
• Frontend: Angular SPA (components for list, profile, navigation).
• Backend: Spring Boot REST API using Maven, layered into controller, service, repository, model, backed by a relational database with Liquibase migrations.
• CI/CD workflows automate Angular and Maven builds in GitHub Actions; the backend is Dockerized.
File structure
• Top-level directories:
• backend – Java/Spring Boot application
• frontend – Angular application
• backend/src/main/java/georgepanaretos/employeemanagerapp:
• controller – EmployeeController
• service – EmployeeService
• repo – EmployeeRepo (Spring Data JPA)
• model – Employee, Department
• exception – UserNotFoundException
• backend/src/main/resources:
• application.properties / application.yaml (DB config)
• data_model SQL scripts
• db/changelog – Liquibase changelog YAML/XML
• backend/Dockerfile and pom.xml
• frontend/src/app:
• Modules/components: nav-bar, employee-list, employee-profile
• Services: employee.service.ts, shared.service.ts
• Routing: app-routing.module.ts
• assets/employees.json (seed data)
• CI definitions under .github/workflows for both Angular and Maven pipelines.
README for additional insights
• Standard Angular CLI scaffold: dev server, build, test commands.