Hello,
I realised when I needed simple CRUD APIs, I'd repeat the same steps over and over and decided to create a web tool for it.
With this tool, you give your models and fields, and it generates:
\- [models.py](https://models.py) with given models,
\- [views.py](https://views.py) with DRF generic views for all CRUD operations,
\- [urls.py](https://urls.py) with "/api/model" and "/api/model/<:id>",
\- JWT authentication,
\- docker-compose, ready to run the project with only single command on your machine.
This may not be a production ready tool but I have benefited from it, and might keep extending it depending on the feedbacks. Stay safe all!
Demo: [https://django-apigen.herokuapp.com/](https://django-apigen.herokuapp.com/)
Repo: [https://github.com/mehmetalpsumer/django-rest-api-generator](https://github.com/mehmetalpsumer/django-rest-api-generator)
Nice app. I’ll use it the next time I start a project.
You have spelled “instructions” wrong in the main page.
Interesting!
Why do you use generic views and urls instead of a viewset with a router?
Following
When I was starting off with Django couple of years ago, I played with something similar called Django Builder. It seems the project is still active, and you can now use the generator on https://djangobuilder.io/ – repo seems active on https://github.com/mmcardle/django_builder
The best part of it was tests, which helped me understand them better.
I believe what you have is similar. How does your app compare with that?
Nice one dude! Definitely will use in future projects. Also will check and let you know or I’ll contribute if anything else is required.
Following! Nice project I’ll try to use it in a future project.
I looked thorugh your source code and I really like the mix of Vue and Django. Also can you talk a bit about your experience using **quasar ?**
Cool idea but unfortunately got a 500 error generating a model with one field 🙁
WOW..Nice one