This is the Airport API service system for tracking direct flights from airports across the whole globe.
- Django REST Framework: For managing API views.
- PostgreSQL: As the main database.
- Celery: For updating flying hours for every crew member(pilots and flight attendants) who was on a flight.
- Redis: As the Celery broker.
- Docker Compose: For developing the microservices.
- Swagger: For API documentation.
- JWT authentication.
- Admin panel /admin/.
- Recording information about countries and cities, associating airports with their closest big city.
- Creating and managing routes (based on airports).
- Creating and managing airplanes and airplane types.
- Creating and managing crews.
- Creating and managing flights.
- Different types of filtering.
- The ability to upload airplanes images to represent a specific kind of airplane.
- Recording and managing orders made by users, and handle tickets for specific flights and orders, including row and seat details.
- Copy .env.sample -> .env and fill with all required data
docker-compose up --build
- Load db data from file (Optional)
docker-compose exec -ti airport python manage.py loaddata airport_service_db_data.json
- Create admin user (Optional)
docker-compose exec -ti airport python manage.py createsuperuser
git clone https://github.com/mwellick/airport-api-service.git
cd airport-api-service/airport_service
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Apply migrations and run the server
python manage.py migrate
python manage.py runserver
python manage.py loaddata airport_service_db_data.json
email: [email protected]
password: Ellipsis
email: [email protected]
password: Qwerty123
Copyright (c) 2024 Michael Korotia