Motivated by https://fizzbuzz.docs.apiary.io using the Django REST Framework .
- GET /fizzbuzz to list all fizzbuzz objects
- GET /fizzbuzz/id to retrieve a single fizzbuzz object
- POST /fizzbuzz to create a new fizzbuzz object, currently has a bug where the User-Agent is not populating.
- Create the python virtual env
python3 -m venv .venv
source [path to .venv]/bin/activate
- Install dependencies
pip install django
pip install djangorestframework
- Start the database and create superuser
python manage.py migrate
python manage.py createsuperuser
- Run the server
python manage.py runserver