Airline Check-In 

FEATURES

  • One endpoint

    This project has a single end point that allows query for the flight ID and return the simulation.

  • Field API response

    The fields in the database are named in Snake case, but in the API response they should be transformed to Camel case.

  • Reconnection to the database

    The API reconnects to the database when the database connection has been inactive for more than 5 seconds.

  • API response

    The API only gives three types of response: Succesfully response, flight not found and error response

API RESPONSE

jobs-section

SUCCESFULLY RESPONSE

jobs-section

FLIGHT NOT FOUND AND ERROR RESPONSE

TECHNOLOGIES

  • Python (Source)

    Version: 3.10.7

    Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

  • Django (Source)

    Version: 4.1.7

    Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It's free and open source.

  • Django Rest Framework (Source)

    Version: 3.14.0

    Django REST framework is a powerful and flexible toolkit for building Web APIs. Used and trusted by internationally recognised companies including Mozilla, Red Hat, Heroku, and Eventbrite.

  • Tenacity (Source)

    Version: 8.2.2

    Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. It originates from a fork of retrying which is sadly no longer maintained. Tenacity isn’t api compatible with retrying but adds significant new functionality and fixes a number of longstanding bugs.

  • DRF-YASG (Source)

    Version: 1.21.5

    DRF-YASG is a Python package that generates OpenAPI (Swagger) documentation for Django REST framework APIs. It allows developers to automatically generate API documentation from their Django code, making it easy to maintain up-to-date documentation for their APIs. DRF-YASG provides an easy-to-use interface for configuring API documentation, including specifying endpoints, request/response formats, authentication, and more. The resulting documentation can be viewed in a web browser and can be used by other developers to understand how to interact with the API.