PostgREST
Some data may be outdated — see provenance labels.
REST API for any Postgres database observed · 2026-10-04
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 4513
- days_rel: 26
- days_push: 17
- n_releases_24m: 42
Adoption not part of the score
27693 stars · 1229 forks observed · 2026-10-04
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-05, confidence 0.98
PostgREST is a standalone web server that automatically creates a fully RESTful API from any PostgreSQL database. It translates database schemas, views, and permissions directly into HTTP endpoints.
Use cases
- Expose an existing PostgreSQL database as a CRUD REST API without writing code
- Rapidly prototype a backend for a web or mobile app using only SQL definitions
- Create a data‑centric API layer that respects database permissions and constraints
- Serve geo‑JSON or other custom media types directly from PostGIS tables
- Deploy a lightweight API server in containers or on a VM for micro‑service architectures
When to choose
- You need a fast, standards‑compliant API generated directly from PostgreSQL
- You want to avoid writing boilerplate CRUD code or using an ORM
- Your data model is already defined in the database and you can express business rules with views and row‑level security
- You prefer a single source of truth (the database) for both data and API definitions
When to avoid
- You require complex business logic that cannot be expressed in SQL or database views
- You need support for databases other than PostgreSQL
- You need GraphQL, real‑time subscriptions, or extensive custom authentication beyond JWT/role‑based checks
- Your application relies heavily on server‑side code execution beyond simple CRUD operations
Facets
service · maturity active
http-server api-framework database-driver auth authorization web-development backend databases windows bsd self-hosted postgresql rest haskell no-orm jwt openapi docker-image linux macos docker
7 sources
- readme: https://github.com/PostgREST/postgrest · fetched 2026-10-04 · a3cd6412a21a
- homepage: https://postgrest.org · fetched 2026-09-21 · 75f4b4d44ea0
- site_page: https://docs.postgrest.org/en/v16/explanations/install.html · fetched 2026-09-21 · 577c19b83909
- site_page: https://docs.postgrest.org/en/v16/integrations/nixos.html · fetched 2026-09-21 · b1b3ed099d52
- site_page: https://docs.postgrest.org/en/v16/integrations/pg-safeupdate.html · fetched 2026-09-21 · f3238209e142
- site_page: https://docs.postgrest.org/en/v16/integrations/postgis.html · fetched 2026-09-21 · 9ebf20dd678b
- site_page: https://docs.postgrest.org/en/v16/integrations/systemd.html · fetched 2026-09-21 · 58b1881199a4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PostgREST/postgrest | main | 98 |
| PostgREST/postgrest-docs | docs | 10 |
For agents
markdown · JSON · MCP: product_card(name="PostgREST/postgrest")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem