This is a simple console app that imitates some chatbot for university. It supports 5 types of requests. These requests allow you to give some info about university departments, and their employees and do a search by employees.
π 3-tier architecture:
- Controller - Presentation layer;
- Service - Application layer;
- Repository - Data access layer.
π Technologies:
- Java 17
- Spring Boot
- Maven
- Lombok
- H2 Database
- Spring Data JPA
πAvailable commands:
- Who is head of department {department_name}
- Show {department_name} statistics
- Show the average salary for the department {department_name}
- Show count of employee for {department_name}
- Global search by {template}
Following commands are case- and whitespace-insensitive.
You can use the available department names from the DB for the above commands:
- Economics
- Philosophy
- Mathematics
- Ecological
- Historical
The following names will also be available in the database for global search:
- John Richard
- Roy Chan
- Bob Alison
- Claudia Jackson
- Tonny Clinton
- Juli Boson
π To start to use:
Run main class or run command mvn package from IDE for generating .jar file to
run in your console.