API service for tracking flights from airports written on DRF
- AirplaneType
- Airplane
- Airport
- Route
- Crew
- Flight
- User
- Order
- Ticket
- JWT Authenticated
- Documentation is located in /api/v1/doc/swagger/
- Managing orders and tickets
- CRUD for all entity except User
- filtering with django_filters and query_params
Install PostgreSQL and create db
git clone https://github.com/AntonShpakovych/airport-api-service
cd airport-api-service
python -m venv venv
venv\Scripts\activate
pip install requirements.txt
create .env file based on env.sample
python manage.py migrate
python manage.py runserver
Docker should be installed
docker-compose up --build
Email: admin@gmail.com Password: admin
- create user api/v1/account/register
- get access token api/v1/account/token
- refresh token api/v1/account/token/refresh
- verify token api/v1/account/token/verify
- api/v1/account/register/
- api/v1/account/token/
- api/v1/account/token/refresh/
- api/v1/account/token/verify/
- api/v1/account/profile/
- api/v1/airport/airplane_types/
- api/v1/airport/airplanes/
- api/v1/airport/airports/
- api/v1/airport/routes/
- api/v1/airport/crews/
- api/v1/airport/flights/
- api/v1/cart/orders/
- api/v1/doc/