3 ms·
So, I'm in the middle of building a backend for the first time and I was evaluating PostgREST just yesterday. Here's the value prop: Your database is the "sour
by dimmke 4y ago
So, I'm in the middle of building a backend for the first time and I was evaluating PostgREST just yesterday.
Here's the value prop: Your database is the "source of truth" but can be accessed in many, MANY different ways. Usually via some kind of ORM system.
This can give you a head start on building a more carefully considered REST API - where it gives you the base CRUD routes for every table in an acceptable format and you can build on top of it. Or if you're accessing your DB through some other interface for your web app but need something quick to build a new face for the service like a mobile app.
I recently ditched building a traditional REST API in favor of just using what my ORM provides to interact with my DB. Something like this will come in handy if I ever need one.