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.
- ๐ Django Dynamic API - product page
- ๐ Django Dynamic API - video presentation
- ๐ More Developer Tools - provided by AppSeed
django-soft-dynamic-services-001.mp4
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 tablesUpdate the configuration
to enable the Dynamic API over the modelStart 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