The thing is, I realized I was spending way too much time writing CRUD code instead of spending that time on the business logic itself. I came to the realization that we need to systematize the things that can be systematized. I'm a big believer in splitting CRUD and business logic apart; while the CRUD infrastructure follows repetitive coding patterns, the business logic varies from app to app.
Now, I know that Backend-as-a-Service isn't something new. However, I wanted a tool that was extremely easy to use. I figured out that a JSON file would be a perfect way to describe a database SQL structure in a simple manner. I really didn't want any fancy user interfaces for dealing with the data structure. By using a JSON file, the infrastructure becomes Git-trackable. This approach prioritizes reliability by ensuring every state of the data structure remains easily traceable over time.
Since I love FastAPI and PostgreSQL, I present to you the tool I've built: RationalBloks (https://rationalbloks.com).
It is a humble attempt to automate the generation of a production-ready backend ecosystem. By defining a single JSON schema, RationalBloks handles the heavy lifting: generating the FastAPI application, configuring the PostgreSQL database, implementing JWT authentication, and creating all the Kubernetes production-ready infrastructure.
I truly hope the community finds some value in this. I am very much open to technical debates, suggestions, and any insightful discussions that can help make this tool better for everyone. Please feel free to reach out to me: victorveloso@rationalbloks.com