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/
Ukrainian-Airlines are hosted on EC2 AWS instance web-site
- Django Rest Framework (For managing api views)
- Postgresql (As main database)
- Celery (For managing completing flights that have departured)
- Redis (As celery broker)
- Docker-compose (For managing the microservices)
- Swagger documentation
- AWS
- 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