DEV Community

Cover image for Django API Generator - Free Tool (Updated)
Sm0ke
Sm0ke

Posted on • Edited on • Originally published at blog.appseed.us

Django API Generator - Free Tool (Updated)

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!


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
Enter fullscreen mode Exit fullscreen mode

👉 Step 2 - Start the APP in Docker

$ docker-compose up --build
Enter fullscreen mode Exit fullscreen mode

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

Django API Generator - API-View Page (free tool)

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:

Top comments (4)

Collapse
 
uithemes profile image
ui-themes

Any chances to use have the generator part usable via PIP?
Thank you for your work.

Collapse
 
sm0ke profile image
Sm0ke

Working on this.
🚀🚀

Collapse
 
crearesite profile image
WebsiteMarket

This is useful.
Would be nice to have the possibility to use linked tables.

Collapse
 
sm0ke profile image
Sm0ke

Hello.
I will check this point, but should work.