Hello coders!
This open-source tool has been updated to provide a sample API-View page that allows interaction with the generated (API) Service. Once Django API Generator starts, the generated API can be used in two ways: using 3rd party tools like POSTMAN and also in the application pages using JS code that implements all CRUD requests. Being released under MIT License, the source can be incorporated into other projects (open-source or commercial).
Thanks for reading!
- 👉 Django API Generator -
Source code
- 👉 Support page (just in case)
The fastest way to use the tool is to start it in Docker via a single command:
👉 Step 1 - Download the code from the GH repository (using GIT)
$ git clone https://github.com/app-generator/devtool-django-api-generator.git
$ cd devtool-django-api-generator
👉 Step 2 - Start the APP in
Docker
$ docker-compose up --build
Visit http://localhost:5085
in your browser. By default, a simple Books Model is used as a sample.
- The generated DRF API is live at
http://localhost:5085/api/books
- Registered users can interact with the API using the
API-View
page
A video presentation that explains the product, the relevant parts of the source code, and how to define and generate a new API can be found on YouTube:
Thanks for reading! For more resources, feel free to access:
- 👉 More Django Dashboards - a curated index
- 👉 Django App Generator - A 2nd generation App Builder
Top comments (4)
Any chances to use have the generator part usable via PIP?
Thank you for your work.
Working on this.
🚀🚀
This is useful.
Would be nice to have the possibility to use linked tables.
Hello.
I will check this point, but should work.