Skip to content

Project for managing airlines system with airports

Notifications You must be signed in to change notification settings

eLQeR/Ukrainian-Airlines

Repository files navigation

Ukrainian Airlines

About project:

This is the airline system with Celery for managing flights across Ukraine. The prototype of this project was the UkrZaliznytsia system with its route and ticket search system.

In this project, we developed a search for flights from one airport to another with transfers using an optimized Dijkstra algorithm limited to only one transfer. api/airlines/get-ways/

Deploy

Ukrainian-Airlines are hosted on EC2 AWS instance web-site

Technologies that was used:

  1. Django Rest Framework (For managing api views)
  2. Postgresql (As main database)
  3. Celery (For managing completing flights that have departured)
  4. Redis (As celery broker)
  5. Docker-compose (For managing the microservices)
  6. Swagger documentation
  7. AWS

How to run:

  • Copy .env.sample -> .env and populate with all required data
  • docker-compose up --build
  • Create admin user (Optional)
  • docker-compose exec -ti api python manage.py createsuperuser
  • Load db data from file (Optional)
  • docker-compose exec -ti api python manage.py loaddata db_data.yaml
  • Create schedule in admin panel for running task 'Complete flight' in DB (Optional)

Test admin user: username: yaros password: 12345

Test default user: username: yaros_test password: 12345

img.png img_1.png img_2.png img_3.png img_4.png img_5.png img_6.png img_7.png

About

Project for managing airlines system with airports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published