{"id":19562647,"url":"https://github.com/emirtotic/aviation-app","last_synced_at":"2026-04-09T08:18:11.752Z","repository":{"id":258810000,"uuid":"875730698","full_name":"emirtotic/aviation-app","owner":"emirtotic","description":"This project is a microservice application for managing flight data, including details on aircraft, airports, airlines, and historical aviation events for a specific date. It uses modern Java backend technologies to offer high flexibility and scalability.","archived":false,"fork":false,"pushed_at":"2024-11-26T18:31:17.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T23:21:33.250Z","etag":null,"topics":["cache","caffeine","docker","eureka","flyway","hibernate","integrations","jasperreports","kafka","mapstruct","microservices","mongodb","mysql","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emirtotic.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-20T17:45:40.000Z","updated_at":"2024-11-26T18:31:20.000Z","dependencies_parsed_at":"2024-11-04T14:23:52.512Z","dependency_job_id":"f51eb0b0-c468-40e1-b83d-c55b2a933a2a","html_url":"https://github.com/emirtotic/aviation-app","commit_stats":null,"previous_names":["emirtotic/aviation-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirtotic%2Faviation-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirtotic%2Faviation-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirtotic%2Faviation-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirtotic%2Faviation-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emirtotic","download_url":"https://codeload.github.com/emirtotic/aviation-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240822692,"owners_count":19863307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","caffeine","docker","eureka","flyway","hibernate","integrations","jasperreports","kafka","mapstruct","microservices","mongodb","mysql","spring-boot"],"created_at":"2024-11-11T05:15:16.759Z","updated_at":"2026-04-09T08:18:11.723Z","avatar_url":"https://github.com/emirtotic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eFlight Management System\u003c/h1\u003e\n\n\u003cp\u003eThis project is a microservice application for managing flight data, including details on aircraft, airports, airlines, and historical aviation events for a specific date. It uses modern Java backend technologies to offer high flexibility and scalability.\u003c/p\u003e\n\n\u003ch2\u003eTechnologies and Skills Applied\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eJava 17\u003c/strong\u003e: The primary programming language for implementing all services.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eSpring Boot 2.7.4\u003c/strong\u003e: The backbone of the microservice architecture with supporting modules:\n    \u003cul\u003e\n      \u003cli\u003e\u003cstrong\u003eSpring Data JPA\u003c/strong\u003e for working with the MySQL database.\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eSpring Web\u003c/strong\u003e for creating RESTful API endpoints.\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eMySQL and MongoDB\u003c/strong\u003e: MySQL is used for storing data about aircraft and companies, while MongoDB stores airport information.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eKafka\u003c/strong\u003e: Asynchronous communication between services for exchanging data across different microservices (flight-service, airport-service, plane-service, company-service, and aviation-events-service).\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eEureka Server\u003c/strong\u003e: For registering and discovering microservices.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eSpring Cloud Gateway\u003c/strong\u003e: Gateway server for centralized management of access to various services.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eMapStruct\u003c/strong\u003e: Used for object mapping within the code.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFlyway\u003c/strong\u003e: Used for initializing data in the MySQL database at application startup.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eSwagger\u003c/strong\u003e (Springfox and Springdoc): API documentation for each microservice.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eUnit Testing\u003c/strong\u003e: JUnit 5 was used for test management, and Mockito was used for mocking dependencies.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eJsoup\u003c/strong\u003e: Used for parsing HTML content and extracting historical events for a given date.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eJackson\u003c/strong\u003e: For JSON data serialization and deserialization, with additional \u003ccode\u003e@JsonFormat\u003c/code\u003e configurations for date formats.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eEmail\u003c/strong\u003e: Mailtrap is used for testing email functionality. Inbox link: \u003ca href=\"https://mailtrap.io/inboxes/3047360/messages/4541834293\"\u003ehttps://mailtrap.io/inboxes/3047360/messages/4541834293\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eLombok\u003c/strong\u003e: Reduces boilerplate code in DTO classes by automatically generating getters and setters.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eMicroservice Structure\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003ePlane Service\u003c/strong\u003e: Collects and stores information about aircraft, including average plane speed, in a MySQL database.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAirport Service\u003c/strong\u003e: Contains airport information, implemented with MongoDB, and allows for country-based searching. Data is integrated from an existing third-party API.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eCompany Service\u003c/strong\u003e: Stores details about airlines and uses MySQL. It communicates asynchronously with the plane service to retrieve the company fleet’s aircraft.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFlight Service\u003c/strong\u003e: Manages flight data and includes asynchronous calls to aviation-event-service to fetch historical events on the flight date, plane-service for aircraft data, company-service for company data, airport-service for departure and arrival airport information, and report-service to generate a PDF report on the created flight.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAviation Event Service\u003c/strong\u003e: Parses HTML from a specified website to obtain relevant aviation events for a particular date and sends information to a Kafka topic.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eReport Service\u003c/strong\u003e: Asynchronously collects the necessary data from the flight-service to create a Jasper report for the desired flight.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eKey Features\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eAsynchronous Communication\u003c/strong\u003e: Utilizes Kafka for efficient data exchange between various microservices.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eCaffeine Cache\u003c/strong\u003e: Optimizes performance and reduces database load.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eData Validation\u003c/strong\u003e: Implemented format validation for dates in the FlightRequest DTO to prevent errors from incorrect dates.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eLogging and Monitoring\u003c/strong\u003e: Through Slf4j logging and Spring Boot Actuator to monitor service status.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAutomated API Documentation\u003c/strong\u003e: Swagger allows easy viewing and testing of all API endpoints.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eReporting\u003c/strong\u003e: Generates customized reports on flights using JasperReports, including details on passengers, aircraft, airlines, and relevant historical events.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eConclusion\u003c/h2\u003e\n\u003cp\u003eThis project is a robust example of a microservice application focusing on performance, scalability, and ease of maintenance. Using modern technologies and best practices, the application is built to work with complex aviation industry data and provides a stable foundation for further development and customization according to specific business needs.\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirtotic%2Faviation-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femirtotic%2Faviation-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirtotic%2Faviation-app/lists"}