Skip to content

Latest commit

 

History

History
 
 

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

About


This sample project demonstrates all the API endpoints of drf-user. It integrates with swagger so that all the API's can be exported in openapi format.

Running Example Project


  1. Create and activate your virtual environment
  2. Install requirements:
    (.venv) $ pip install -r requirements.txt
  3. Run testing server:
    (.venv) $ python manage.py runserver
  4. Take a look at http:https://localhost:8000/swagger. Swagger will list all the APIs of drf-user.
  5. Go to http:https://localhost:8000/swagger/?format=openapi. From here you can export all the APIs in openapi format. Exported APIs can be easily imported into tools like Postman.