Skip to content

A Spring microservice to query for fictional airline flight data.

Notifications You must be signed in to change notification settings

Hussein-249/OntAirio-dataservice

Repository files navigation

OntAirio Flight Microservice API

A Spring Boot microservice to query for flights offered by a fictional airline

Purpose

This microservice is part of a larger personal project, Project OntAirio.

Flight searching and booking requires significant backend calculations and communications with the backend database. As such a dedicated service to handle queries adds a layer of abstraction and modularity between requests from both mobile applications and desktop clients.

To further the modularity of an airline's backend and web services, this microservice only serves business-related queries. User authentication and management is handled by a separate microservice.

Installation & Environment

Packages

This microservice is built with Spring Boot. Dependencies are as follows:

  • JUnit and Mockito (see Tests)

Runtime Environment

This app is developed with JDK 17.

Tests

Coming soon.

Automated

Manual Tests

If you'd like to manually test responses and see the data it returns in your browser, you can make the following requests:

/flights?originICAO=CYUL&destinationICAO=CYOW

/flights?originICAO=CYOW&destinationICAO=CYYZ

Implemented Features

  • Basic flight querying

In progress

  • Finalizing the flight, trip, and aircraft data model
  • Authentication
  • Business logic for creating non-direct journeys

Documentation

This microservice will be fairly straightforward as the data model is fairly simple, with only a few entities (tables).

Documentation will be completed when this microservice has reached MVP stage.

About

A Spring microservice to query for fictional airline flight data.

Topics

Resources

Stars

Watchers

Forks

Languages