# Sprachschulsystem *PA165 course project at FI MUNI Spring 2023.* # About Project - **Name**: Language school - **Technologies**: Java 17, Spring, Maven, ... - **Developers**: - Dominika Zemanovičová *@xzemanov* - Martin Gargalovič *@xgargal* - Jan Pokorný *@xpokorn8* - Ester Vilímková - _Project Leader_ *@xvilimk* - **Assigment**: - Create a system for language school lecture management. Each lecture can occur on a given day and time and is related to some course. The course is defined by its (unique) name, language and proficiency level. However, each lecture will be independent. That means that each lecture can have a different topic. Different lecturers can give it, and an arbitrary number of students can enrol. Each lecturer will have a name, surname, and record of taught languages. In addition, the lecturer will indicate that they are a native speaker. Exercises can be prepared for each course to allow the students to learn the language. Each student can pick the exercises depending on the levels of difficulty. - **Running the modules using docker-compose**: ```console cd ./application mvn clean install docker-compose build --parallel docker-compose up ``` - **Running the modules using docker**: ~~~console sudo docker run -d -p 5001:5001 xpokorn8/sprachschulsystem:certificate && sudo docker run -d -p 5002:5002 xpokorn8/sprachschulsystem:exercise && sudo docker run -d -p 5000:5000 xpokorn8/sprachschulsystem:language-school && sudo docker run -d -p 5003:5003 xpokorn8/sprachschulsystem:mail ~~~ # Metrics and Monitoring Dashboards Our application uses Prometheus and Grafana to collect metrics and display them. By running the app using commands for Running the modules using docker-compose mentioned above Prometheus and Grafana containers are also launched. You can find the **Prometheus** interface on http://localhost:9090 You can find **Grafana** interface on http://localhost:3000<br /> The credentials are:<br /> **username:** admin <br /> **password:** admin <br /> In Grafana interface, you can import various dashboards. Our team used and tested https://grafana.com/grafana/dashboards/3662-prometheus-2-0-overview/ board.<br /> To import the dashboard, follow steps bellow:  Select **+** and **Import** in left menu of the Grafana interface.  Insert **3662** into **Import via grafana.com** and click **Load**.  Select **Prometheus** in the **prometheus** combo box and click **Import**.  The dashboard with metrics data will be displayed. # Project Description Sprachschulsystem is a web-based application that aims to simplify and streamline the management of language school lectures. The system is designed to provide an easy-to-use interface that allows language schools to manage lectures, courses, lecturers, exercises, and students. ## Roles System has three authorization roles - **Lecturer**, **Student** and **Admin**. ## Module services - **module-language-school** - **module-certificate** - **module-exercice** - **module-mail** # Diagrams DTO Class Diagram:  --- Use-case Diagram: 