Member-only story
4 Ways To Implement Auto-CRUD + Some Pros & Cons
For those that are unfamiliar, CRUD is “create, read, update, delete” — which most applications need.
The old way of building apps
We define each endpoint ourselves in our backend — read multiple, read one, create one, bulk create, update one, bulk update, delete one, bulk delete, read with specific conditions, etc etc
A more modern way of doing things
We use Auto CRUD frameworks — ie we don’t need to define all these endpoints ourselves. Instead, we define the shape (schema), and the frameworks automatically generate the CRUD endpoints for us.
This way, we need to write less boilerplate code, and can set up and move much faster than before.
Some Auto CRUD frameworks that I’ve experimented with:
1) FastAPI-Autocrud
A cool project built on top of FastAPI to enable auto CRUD
As an example, I quickly set up a FastAPI project with FastAPI-AutoCRUD. What I had to do:

