Hacker News new | ask | show | jobs
by _bxg1 2190 days ago
For a long time I've thought that the idea of having an entire, Turing-complete layer between the database and the HTTP API felt like overkill. You know your collections, you know the shape of your data, auth doesn't vary much between orgs. Unless you're doing interesting computations after querying, why do you have to program those endpoints over and over again for each entity in each project? It just seems silly.

I'm honestly surprised there aren't more projects like this

2 comments

>> why do you have to program those endpoints over and over again for each entity in each project? It just seems silly. I'm honestly surprised there aren't more projects like this

This is exactly what got us started - we are solving automatic REST-GraphQL API endpoint creation for all SQL databases. Check us out https://github.com/xgenecloud/xgenecloud

Wow this looks awesome!
There are quite a few projects like this, though this is the first one I’ve seen for Mongo specifically. The most well known is probably PostgREST, though I recently saw a project on here that encapsulates the other relational DB providers as well (MSSQL, MariaDB, etc)