Airport API service - system for tracking flights from airports across the whole globe.
Supports:
- JWT Authentication
- Swagger Documentation
- PostgreSQL
- Docker
- Create/Update/Delete airplane crew positions
- Create/Update/Delete crew, assign crew position
- Create/Update/Delete airplane types
- Create/Update/Delete airplanes with assigned crew
- Create/Update/Delete airports
- Create/Update/Delete routes with source and destination airports
- Create/Update/Delete flight with certain routes and airplane
- Create/Update/Delete ticket with order for certain flight
- Clone link from GitHub repository airport-API
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
-
Create .env file and update fields like in .env.sample
-
Build docker container
docker build -t airport_api .
- Run Docker container
docker compose up
- Create superuser
docker exec -it <container_name> bash