postgrest
Backend as a service
Standalone server that turns a PostgreSQL schema into a REST API for backend developers
28k 1.2k today Thriving MIT
Go server that exposes REST and MCP APIs on a Postgres or MySQL database
Listed by Alston Antony, founder & editor
Health
ThrivingStars
4,640
Last commit
4 days ago
Nov 2026
Repository age
10 years
since Nov 2016
Latest version
v2.6.0
Nov 2026
Contributors
–
6 active in 90 days
Releases
13
last 12 months
Docker pulls
293k
prest/prest
Language
Go
pREST generates a REST API over an existing or new SQL database, so you do not hand-write a backend. It covers CRUD, custom SQL routes, authentication, access control lists and a read-only Model Context Protocol endpoint for AI clients.
PostgreSQL 9.5 or later is the default engine. MySQL 8.0.19 or later is supported as a separate dialect, selected with engine set to mysql. Tables are reached with paths like /{database}/{schema}/{table}. You configure it with a TOML file or environment variables, and containers can take their app config from a single JSON document. Options include allowed hosts, a request ID header and a PostgreSQL session time zone.
It is written in Go, MIT licensed, and available through Docker, Homebrew and Go. It has been developed since 2016.
It is categorized as a backend as a service, though it names no specific product it replaces. It suits teams who want an API layer on their own database without adopting a hosted platform.
You get a REST API over your tables without writing handlers.
Skip if: You need a full platform with built-in file storage and user management UI.
The read-only MCP endpoint lets clients like Cursor or Claude query data.
Skip if: Your agents need to write data through MCP, since that endpoint is read-only.
Config can be supplied as JSON in an environment variable or secret.
Skip if: You need MariaDB, TiDB or Aurora MySQL, which are still on the roadmap.
Putting an API in front of a SQL database usually means writing repetitive CRUD code and access rules. pREST serves that API directly from the schema you already have.
Yes. It is licensed under MIT.
PostgreSQL 9.5 or later by default, and MySQL 8.0.19 or later with engine set to mysql.
Yes. You can run it with Docker, Homebrew or Go against your own database.
Yes, through a read-only MCP endpoint.
Backend as a service
Standalone server that turns a PostgreSQL schema into a REST API for backend developers
28k 1.2k today Thriving MIT
Backend as a service
Generic backend with realtime API, search and user management for web and IoT apps
1.7k 135 today Active Apache-2.0
Backend as a service
Minimalist JSON storage service with sync and sharing for developers building apps
4.4k 443 today Thriving Apache-2.0
Backend as a service
Self-hosted Go backend that turns a data schema into APIs, auth and automation
1.9k 122 today Active LGPL-3.0
Backend as a service
Single-binary Rust backend with auth and REST APIs for app developers
5.8k 201 3 days ago Active OSL-3.0
Replaces Firebase
Backend as a service
Real-time, offline-first client database with auth and permissions for frontend developers
11k 430 19 days ago Slowing Apache-2.0