API service for ordering tickets to airport. Written on DRF
- JWT authentication
- Admin panel (/admin/)
- Documentation (/api/doc/swagger/)
- Ability for authorized user creat orders with tickets
- Filtering Flights and Routes
Install PostgresSQL and create your db
git clone https://github.com/HlovaOleh/airport-service.git
cd airport-service
python -m venv venv
venv\Scripts\activate # (For Windows)
source venv/bin/activate # (For Linux/Mac)
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
don't forget to copy .env.sample to .env and fill out it with your info
Docker should be installed and run
docker-compose build
docker-compose up
- create user via /api/user/register/
- get access token via /api/user/token/