- python 3.9
brew install pyenv pipenv
pipenv install
python manage.py runserver
# or
pipenv run server
It will start a local server at localhost:8000
and you can access the API
The API document at localhost:8000/redoc/
Run these two commands only when changes are made to the Django models
# create migration files
python manage.py makemigrations
# or
pipenv run makemigrations
# apply the migration operations
python manage.py migrate
# or
pipenv run migrate
python manage.py test
This project uses drf-spectacular to generate the Redoc and OpenAPI schema.
- Redoc
- OpenApi 3.0 Schema (JSON)