#postgREST

2025-06-13

Implementing this in as technically simple a manner as is possible can be done using postgREST, on top of postgres and nginx.

1. OpenAPI: docs.postgrest.org/en/v12/refe
2. HTTP OPTIONS: docs.postgrest.org/en/v12/refe

#postgres #postgREST #HTTP #REST #OpenAPI

2025-03-03

Today's article is about PostgREST, a tool to expose Postgres over HTTP. I discuss the role for such tools and explain some integration patterns based on different use-cases.

dicioccio.fr/role-of-postgrest

#PostgreSQL
#postgREST
#haskell

Alexandre de Verteuilsystempk@mastodon.online
2025-01-25

Currently, I have a #NodeRED data pipeline pulling weather metrics from #OpenWeather every hour, a table in #PostgreSQL to store the JSON payloads, a View to query the historical data, #PostgREST to provide an HTTP REST API to read and write to the tables and views.

openweathermap.org/
nodered.org/
docs.postgrest.org/en/v12/

Screenshot of a flow (a program) in NodeRED. Various nodes with connections between them represent a data pipeline. There are cron nodes, HTTP request nodes, data manipulation nodes, and debug nodes. This program makes HTTP GET calls to the OpenWeather API, and POST calls to my PostgREST endpoint.A Grafana dashboard titled "Weather historical data for Santa Fe, NM". Time series graphs show the outside temperature, humdity, atmospheric pressure, and other essential meteorological metrics for the past 7 days.Screenshot of pgAdmin4 with my database and tables expanded. There is an 'extracted_openweather_current_and_forcasts_data' table in which the OpenWeather data payloads are stored, and a 'weather_santa_fe' View, which format the data in a tabular format for simple querying.
2025-01-14

It's been so many months in the making but I've finally reached a point at which I'm ok to say I've upgraded #postgrest -table, dicioccio.fr/postgrest-table.h . If you do not know, PostgREST is a way to provide a #REST API on top of #PostgreSQL with little effort. I think it's always good in read-only as (a) an addition to business-code-carrying APIs (e.g., provide a 'data' api to your users easily) (b) local debugging/troubleshooting. With my tool you also get low-effort dashboards for free.

Khalid K-1000 🤖khalidabuhakmeh
2024-12-24

Trying out with and the client. This might be a nice "quick and easy" way to spin up demo APIs for workshops or tutorials around .

All runs locally off of . Pretty neat stuff for devs.

Showing postgrest API running inside JetBrains Rider. A C# codebase calls an API that is running off of a Postgres database.
marmelabmarmelab
2024-11-05

📢 New blog post: Discover how PostgREST can simplify your workflow by instantly transforming your database into an API.

PostgREST allows you to focus on the frontend since building REST APIs becomes a solved problem.

Check out our latest article to learn more about this game-changer: 👇
marmelab.com/blog/2024/11/04/p

Nicolas Fränkel 🇺🇦🇬🇪frankel@mastodon.top
2024-07-14

Today, I wrote on how to combine #PostgreSQL , #PostgREST and #ApacheAPISIX to expose a developer-friendly #RESTAPI.

blog.frankel.ch/advanced-url-r

boringSQLboringsql
2024-06-08

Now with the PostgREST deep dive completed, you can find it (and hopefully share it) as single guide

notso.boringsql.com/guides/pos

Anupam 🇮🇳《ミ》λ≡haskman@functional.cafe
2023-12-19

I always enjoy seeing #Postgrest on #HN! postgrest.org/en/stable/how-to

Postgrest is of course written in #Haskell. But what I didn't know was that #Supabase is based on Postgrest, and they employ the lead developer of postgrest to work on it fulltime, which means Supabase is also based on Haskell!

#FunctionalProgramming everywhere!

Yiorgos Adamopoulosadamo@infosec.exchange
2023-10-31

When #postgrest complains about columns not existing, this might be the cause managing.blue/2023/10/31/postg

Dave Lane :flag_tino: 🇳🇿lightweight@mastodon.nzoss.nz
2023-03-07

@Jdreben I'm liking #Svelte... now I just need to get working on one of my backburner projects which will use it, along with #PostgREST ... reckon they're a potent combination.

Nicolas Fränkel 🇺🇦🇬🇪frankel@mastodon.top
2022-11-20

Creating a full-fledged #API requires resources, both time and money. In this post, I show how how you can create a #CRUD API on top of your #database writing a single line of code blog.frankel.ch/poor-man-api/

#PostgreSQL #postgrEST #nocode #MVP

Videl SmithVidel
2022-05-02

What's the fastest way to make a app? is fine

I currently have this :

- DB ()
- (the Admin part)

Tried , but doesn't look ready yet for use.

- for the backend
- Some frontend framework from 2021.stateofjs.com/en-US/libra (, maybe)

2021-08-05
J'utilise avec succès et plaisir https://www.graphile.org/postgraphile/ depuis fin 2019.
Lors d'un #spike de https://postgrest.org j'ai la mauvaise surprise de constater que contrairement à #Postgraphile (GraphQL) les routes #PostgREST ne sont pas personnalisables avec des commentaires #postgres 😥

Bien que #PostgREST est plus ancien (2014) que #Postgraphile (2016), je trouve ce dernier plus complet, plus paramétrable.
C'est dommage, je vais devoir trouver une autre solution, 😥 j'ai pris l'habitude de la génération d'API par introspection avec #Postgraphile.
2021-04-25

#PostgREST serves #PostgreSQL databases as RESTful APIs.

PostgREST takes in a regular PostgreSQL database and serves it through a #REST web API that can be given data using #JSON. Authentication is done via JSON web tokens (#JWT) that extend the existing database authorization. PostgREST is very fast, supporting thousands of requests per second on a modest server.

Website 🔗️: postgrest.org/

#free #opensource #foss #fossmendations #sysadmin #webdev

Francois-Guillaume Ribreaufgribreau@framapiaf.org
2020-07-10

[Fr] Rassemblement mensuel de la team #Netwo, ce mois-ci c’est à Nantes ! #rust #postgrest #fullremote #mobprogramming #XP on recrute ! t.co/3jMEazWuBh t.co/syWezHMjTt

Francois-Guillaume Ribreaufgribreau@framapiaf.org
2020-06-17

[Fr] Netwo recrute et recherche des devs full-stack expérimentés pour un projet innovant dans le domaine des télécoms. 🌏 #FullRemote 🧠 #MobProgramming 🔥 #GKE #Kubernetes 🥰 #Rust 🐘 #PostgreSQL ⚡️ #PostgREST

t.co/cDLkaIf0MX

Voilà qui est intéressant :
#PostgREST : un serveur #Web autonome qui transforme une base de données #PostgreSQL
Directement en une API #RESTful

postgresql.developpez.com/actu

Je découvre, apparemment, il y a même une couche de sécurité...

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst