Discussion

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

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

2 points ankitchhatbar 3 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton