Django based REST API for polls.
- Install and activate virtual environment (with virtualenv package for example).
- Clone repository
- Install all requirements from requirements.txt
- Do migrations:
python manage.py makemigrations
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser
Or you can use admin/admin user with DB from the repository 6. Run server:
python manage.py runserver
Documentation on the polls api is provided at http://127.0.0.1:8000/docs
Automatically generated schema is provided at http://127.0.0.1:8000/schema
Api resources are at http://127.0.0.1:8000/api