This example project demonstrates the usage of Django Requests Tracker. The project has a simple example API both for Django Ninja and Django REST Framework.
pip install -r requirements.txt
python manage.py migrate
python manage.py create_demo_data
synchronously:
python manage.py runserver
or asynchronously:
python run_async.py
Go to http://localhost:8000/requests_tracker/ to see the running Requests Tracker, the requests list will however be empty as there are no requests yet.
python manage.py run_example_requests
Example requests can also been run few at a time in parallel (mostly for used for testing) with:
python manage.py run_example_requests_parallel
Go to http://localhost:8000/ninja/docs to explore and execute requests to the Django Ninja part.
Go to http://localhost:8000/restframework/docs to explore available endpoints in the Django REST framework part. Use Postman or similar clients to execute requests.