awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
PostgREST avatar

PostgREST/postgrest

0
View on GitHub↗
27,232 stars·1,204 forks·Haskell·MIT·10 viewspostgrest.org↗

Postgrest

PostgREST is a standalone server process that automatically transforms a relational database schema into a fully functional RESTful API. By querying system catalogs at startup, it maps tables, views, and stored procedures into standardized web endpoints, allowing developers to build backend services by focusing exclusively on database design.

The service functions as a declarative engine that translates HTTP requests and query parameters directly into native SQL operations. It maintains stateless request processing and integrates connection pooling to manage high-frequency interactions efficiently. Security is enforced by delegating authentication and authorization to the database engine, which maps request tokens to specific database roles and applies row-level security policies to ensure consistent data access.

This approach enables rapid prototyping by eliminating the need for custom application code to handle standard data operations. The system acts as a relational data gateway, ensuring that all interactions adhere to the integrity constraints and permissions defined within the underlying database.

Features

  • Database Middleware - Exposes database operations directly through standard HTTP requests while maintaining strict relational integrity.
  • Database-to-REST Interfaces - Automatically exposes database tables as functional RESTful API endpoints with integrated permission management.
  • HTTP-to-SQL Mappers - Translates standard REST verbs and headers directly into corresponding SQL operations to provide a seamless interface for database interactions.
  • Access Control Layers - Enforces row-level security and database permissions directly at the API level to ensure users only access authorized data.
  • Access Control Systems - Enforces security by mapping request tokens to database roles and executing queries within restricted security contexts.
  • API Generators - Automatically maps database tables and views into RESTful endpoints by querying system catalogs to derive structure at startup.
  • API Generators - Automatically generates secure RESTful API endpoints by introspecting database schemas and structural constraints.
  • Connection Pooling Middleware - Maintains a persistent set of database connections to minimize latency and overhead when executing high-frequency API requests.
  • Connection Pools - Manages a persistent set of database connections to minimize latency and overhead when executing high-frequency API requests.
  • Data Gateways - Exposes structured database content as queryable resources through standard web protocols.
  • Database-First Development Frameworks - Automates backend API construction by deriving structure and endpoints directly from database schema definitions.
  • Database Query Translators - Automatically parses web requests and query parameters into native SQL statements for direct database execution.
  • Database Schema Introspection Tools - Automatically maps database tables and procedures into a RESTful API structure by querying system catalogs at startup.
  • Query Translators - Converts complex HTTP request parameters and filters into native SQL queries using a recursive parser for efficient database execution.
  • Rapid Prototyping Tools - Generates functional backend services and APIs automatically from database schema definitions to eliminate boilerplate code.
  • Stateless Architectures - Implements stateless request processing by authenticating and authorizing each request independently without server-side session state.
  • API Generation - Provides a RESTful API for any PostgreSQL database.
  • Data and Databases - REST API generation for PostgreSQL databases.
  • Data Utilities - RESTful API server for PostgreSQL.

Star history

Star history chart for postgrest/postgrestStar history chart for postgrest/postgrest

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Postgrest

Similar open-source projects, ranked by how many features they share with Postgrest.
  • begriffs/postgrestbegriffs avatar

    begriffs/postgrest

    27,234View on GitHub↗

    PostgREST is a standalone web server that automatically transforms a PostgreSQL database into a RESTful API. It serves as an API gateway that translates HTTP requests into SQL queries, mapping the database schema directly to endpoints without the need for manual route definitions. The system utilizes a JWT authentication layer to validate user identities and map incoming web requests to specific database roles. This allows the server to delegate authorization and permission enforcement to the internal PostgreSQL role system. It includes a generator for OpenAPI specifications to provide stand

    Haskell
    View on GitHub↗27,234
  • mevdschee/php-crud-apimevdschee avatar

    mevdschee/php-crud-api

    3,735View on GitHub↗

    This project is a PHP SQL REST API generator and database API wrapper that automatically transforms SQL database tables into a functional web interface. It serves as a lightweight layer that maps HTTP methods to SQL commands, allowing for the creation, reading, updating, and deletion of records without writing manual endpoint code. The tool distinguishes itself by providing a dedicated spatial data API gateway for querying and exporting geometry columns using GeoJSON and WKT standards. It also functions as a multi-tenant data API, capable of isolating records for different users through share

    PHPapi-serverautomatic-apicrud
    View on GitHub↗3,735
  • ferretdb/ferretdbF

    FerretDB/FerretDB

    10,976View on GitHub↗

    FerretDB is an open-source database emulator and protocol translator that mimics a MongoDB environment to support existing drivers and client tools on a relational backend. It functions as a stateless database proxy that converts binary wire protocol messages into SQL statements, allowing a relational engine to handle document-oriented requests. The project serves as a migration tool for moving applications from MongoDB to PostgreSQL without rewriting queries or changing client drivers. It achieves this by using PostgreSQL as a document store, storing and querying BSON documents through a tra

    Go
    View on GitHub↗10,976
  • graphile/postgraphilegraphile avatar

    graphile/postgraphile

    12,929View on GitHub↗

    PostGraphile is an automated tool that converts a PostgreSQL database schema into a fully functional GraphQL API. It serves as a GraphQL execution engine and schema orchestrator, utilizing database schema introspection to retrieve strongly typed metadata directly from PostgreSQL. The project features a modular system for composing and standardizing GraphQL schemas through plugins, which manage naming conventions and connections. It includes a PostgreSQL query builder that constructs dynamic, SQL-injection-proof queries using tagged template literals. The system employs a declarative query pl

    TypeScript
    View on GitHub↗12,929
See all 30 alternatives to Postgrest→

Frequently asked questions

What does postgrest/postgrest do?

PostgREST is a standalone server process that automatically transforms a relational database schema into a fully functional RESTful API. By querying system catalogs at startup, it maps tables, views, and stored procedures into standardized web endpoints, allowing developers to build backend services by focusing exclusively on database design.

What are the main features of postgrest/postgrest?

The main features of postgrest/postgrest are: Database Middleware, Database-to-REST Interfaces, HTTP-to-SQL Mappers, Access Control Layers, Access Control Systems, API Generators, Connection Pooling Middleware, Connection Pools.

What are some open-source alternatives to postgrest/postgrest?

Open-source alternatives to postgrest/postgrest include: begriffs/postgrest — PostgREST is a standalone web server that automatically transforms a PostgreSQL database into a RESTful API. It serves… mevdschee/php-crud-api — This project is a PHP SQL REST API generator and database API wrapper that automatically transforms SQL database… ferretdb/ferretdb — FerretDB is an open-source database emulator and protocol translator that mimics a MongoDB environment to support… graphile/postgraphile — PostGraphile is an automated tool that converts a PostgreSQL database schema into a fully functional GraphQL API. It… azure/data-api-builder — Data API builder is a service that automatically generates REST and GraphQL endpoints directly from database schemas… twentyhq/twenty — Twenty is a headless customer relationship management framework that enables developers to build, version, and deploy…