Travel Booking System
Use Python 3
for back-end
All the requirements have been described in requirements.txt
. Make sure you add all your back-end requirements there as well!
Initial requirements include:
- Django as the base framework
- djangorestframework Framework for API
- djangorestframework-jwt This package provides JSON Web Token Authentication support for Django REST framework
- django-crispy-forms for easier form layouts
- django-filter dynamic queryset filtering from URL parameters.
- markdown for rendering markdown in HTML
- graphene GraphQL framework for Python
- graphene-django Graphene Django integration
The application uses SQLite for the database by default for simplicity reasons.
Migrate the database before the first run
python manage.py migrate
Create a superuser
python manage.py createsuperuser
Loading initial data for projects
python manage.py loaddata shipments/fixtures/initial.json
Running tests
python manage.py test
python manage.py runserver
The application should be visible at 127.0.0.1:8000
rest "/api"
graphql "/graphql"