Skip to content

This is a simple java project with the console interface for university, which consists of departments and lectors

Notifications You must be signed in to change notification settings

PavloPolovyi/university-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIVERSITY SERVICE

📣 Project description 📣

This is a simple java project with the console interface for university, which consists of departments and lectors. It is built up using Spring Boot and Picoli CLI framework. It uses an in-memory H2 database, but it can be replaced any time. Users can get such information about the university department: head of department, average salary, employees count and summary statistics about academic degree of employees. Moreover there is a global search of lectors with ANSI highlighting of found patterns.

Features

  • Fully featured CLI for usage

  • 3-layer architecture: CLI, Services and Repositories

  • In-memory database H2

  • Tests for repository custom queries and SpringBootApplication class

Technologies

  • Java 17

  • Spring Boot 3

  • Picoli

  • Spring Data JPA

  • Hibernate

  • Liquibase

  • Lombok

  • H2 database

  • JUnit5, Testcontainers, Spring Boot Testing

💣Instructions for launching the project💣

To run this project locally you need JDK installed, follow these steps:

1️⃣ Clone this project from GitHub:

https://github.com/PavloPolovyi/university-service

2️⃣ Navigate to project folder in terminal and run following command:

./mvnw clean package -DskipTests

3️⃣ Then you can test application. Notice, that database is prepopulated with mock data. Run following command to see help:

java -jar .\target\university-service-0.0.1-SNAPSHOT.jar --help 

You will see following response from the application:

4️⃣ Get help for subcommands:

java -jar .\target\university-service-0.0.1-SNAPSHOT.jar lec --help 
java -jar .\target\university-service-0.0.1-SNAPSHOT.jar dep --help 

About

This is a simple java project with the console interface for university, which consists of departments and lectors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages