Flights back-end recruitment test
Frameworks/libraries used to bootstrap the project.
- Python 3.11
- Django
- Django REST Framework
- Bootstrap
- Python 3.11
python -m venv venv
- Activate virtual env Python 3.11
source venv/Scripts/activate
- Clone the repo
git clone https://github.com/your_username_/Project-Name.git
- Install NPM packages
pip install -r requeriments
- Make migrations
python manage.py makemigrations python manage.py migrate
- Create initial data
python manage.py seed
- Create super user
python manage.py createsuperuser
- Start project
python manage.py runserver
- Rating filter:
http://127.0.0.1:8000/flights/?minrating=9
- REST API
http://127.0.0.1:8000/flights/api/