top | item 36073492

Ask HN: Would you use a platform that auto-generates a DB, CRUD APIs from JSON?

2 points| ankitchhatbar | 2 years ago

I am thinking of building a platform where you write a JSON file that specifies models, fields, auth etc, and it automatically generates the below in seconds:

- Database (sql or nosql) with tables/schema

- API endpoints which are filterable and sortable

- API endpoints for CRUD operations

- API endpoints for custom actions

- Authentication

- Access control so records not permitted are filtered out

You can always hook your own functions to the JSON, and they will be called when the relevant endpoint is called.

This could be a good and simple alternative to Firebase and Supabase as you don't need to learn their platforms and use their client libraries. You can spin up hundreds of endpoints in a couple of mins

discuss

order

No comments yet.