Skip to content

app-generator/devtool-django-dynamic-api

Repository files navigation

This tool aims to provide a secure, production-ready API via DRF (Django REST Framework) using the developer's minimum amount of code. For newcomers, Django is a leading backend framework used to code from simple websites and API's to complex eCommerce solutions. DRF (Django REST Framework) is the most popular library for developing secure API services.


Video Presentation

django-soft-dynamic-services-001.mp4

How It works

As mentioned above, the Dynamic API tool aims to enable a secured API service on top of any Django codebase with a minimum effort. Here are the steps:

  • Define a new model in the project (an old one can be also used)
  • Execute the database migration to create/update the associated tables
  • Update the configuration to enable the Dynamic API over the model
  • Start the app
  • Access the Dynamic API Service

For instance, if the new model managed by the Dynamic API is called books, the associate API is exposed at /api/books/


Status Item info
New Models Definition in apps/models -
The app is saved in apps/dyn_api -
Models enabled in core/settings.py via DYNAMIC_API variable -
The project exposes automatically a CRUD API over the new model -
Path of the service: /api/products/ In case the new model is Products
The API is powered via DRF using best practices -


Django Dynamic API - Developer tool provided by AppSeed