PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API. The structural constraints and permissions in the database determine the API endpoints and operations. Using PostgREST is an alternative to manual CRUD programming. Custom API servers suffer problems. Writing business logic often duplicates, ignores or hobbles database structure. Object-relational mapping is a leaky abstraction leading to slow imperative code. The PostgREST philosophy establishes a single declarative source of truth: the data itself. It’s easier to ask PostgreSQL to join data for you and let its query planner figure out the details than to loop through rows yourself. It’s easier to assign permissions to db objects than to add guards in controllers. (This is especially true for cascading permissions in data dependencies.) It’s easier to set constraints than to litter code with sanity checks.

Features

  • Leak-proof Abstraction
  • PostgREST has a focused scope
  • PostgREST is a standalone web server
  • Serialize JSON responses directly in SQL
  • Combined row counting and retrieval
  • Data validation

Project Samples

Project Activity

See All Activity >

Categories

HTTP Servers

License

MIT License

Follow PostgREST

PostgREST Web Site

Other Useful Business Software
Powerful Website Security | Continuous Web Threat Platform Icon
Powerful Website Security | Continuous Web Threat Platform

Continuously detect, prioritize, and validate web threats to quickly mitigate security, privacy, and compliance risks.

Reflectiz is a comprehensive web exposure management platform that helps organizations proactively identify, monitor, and mitigate security, privacy, and compliance risks across their online environments. Designed to address the growing complexity of modern websites, Reflectiz provides full visibility and control over first, third, and even fourth-party components, such as scripts, trackers, and open-source libraries that often evade traditional security tools.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PostgREST!

Additional Project Details

Programming Language

Haskell

Related Categories

Haskell HTTP Servers

Registered

2022-07-14