DEV Community

Tobi-De
Tobi-De

Posted on

Falco - CRUD generator, project-starter and a set of guides for django devs

Hi all,

I've been working on a side project for the last few days that I would like to share with you. It is a rewrite of a previous project. I mentioned on the GitHub readme that it was a toolkit, but I'm not really sure how to describe it, so I'll just say what it does. There are two parts to the project: a CLI and a set of guides.

The most noteworthy commands in the CLI are a project starter that generates a Django project setup with Hatch, htmx, and Tailwind, and a CRUD (Create, Read, Update, Delete) command generator that creates CRUD views based on a Django model. It is a similar idea to Neapolitan but with a completely different approach. Instead of a class to inherit from, the CLI generates and inserts code for function-based views directly into your views.py\ file. It also generates some basic html templates with minimal Tailwind styling and registers URLs. The goal is faster prototyping. You write a model, and then you can easily get basic CRUD views to test things out. Updating the code is quite straightforward since it is directly available in your source code files.

The second part is the Guides. You can think of it as the Django official topic guides, but instead of focusing on the components of the framework like forms, models, class-based views, etc., it is more focused on more general web subjects like realtime, task queues, deployment, etc. The idea is to have a place where you'll get general views on how to handle each topic, but from the perspective of a Django developer. Much of it is based on my own experience, but I'll also do some additional research since the idea is to get a general view and explore available options for handling each topic.

All the available CLI commands and guides are listed on the GitHub readme.

The project caters to a target audience ranging from beginners to intermediate developers, leaning more towards the latter. Please note that this project is actively under development. While the CLI is nearing completion, the guides are not yet halfway done.

Finally, thank you for taking the time to read this, and Merry Christmas to all those who celebrate!

https://github.com/tobi-de/falco

Top comments (0)