Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
REST API for any Postgres database (postgrest.org)
38 points by danskeren on Nov 17, 2021 | hide | past | favorite | 5 comments


This is very seductive, but what happens when I need to refactor the database? Do all my API consumers just have to deal with a new interface?


Yes, A popular convention when using such tools is to use views for any tables that may change, and then treat those views as public interface.

So, when you refactor the underlying, you can also update your view definition so that the interface remains the same.


Is it possible to also expose a websocket that emits changes?



Looks neat. Love the name!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: