Coding sample for Django & DRF Integration documentation page. The DRF ecosystem provides many ways to secure your API using basic authentication or tokens. Here, we will show you how to easily secure an API for a model created in Django using Djoser.
👉 Get Support via
Discord
👉 Download the code
$ git clone https://github.com/app-generator/docs-django-drf.git
$ cd docs-django-drf
👉 Install modules via
VENV
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
👉 Set Up Database
$ python manage.py makemigrations
$ python manage.py migrate
👉 Start the app
$ python manage.py runserver
At this point, the app runs at http://127.0.0.1:8000/
.
Django & DRF Sample - Coding sample provided by App Generator