Modern API
- Developed for the purpose of rapidly building Backend Services on top of a database
- Most are built on PostgreSQL
- Can handle Tables, Views, and Joins without writing any code at all
- Some also provide a UI for management
- Some are offered as paid SaaS
PostgREST
Section titled “PostgREST”- https://postgrest.org/
- PostgREST simply exposes a REST API on top of PostgreSQL.
- It connects to an existing PostgreSQL instance rather than embedding one, and does not support other databases.
Architecture
Section titled “Architecture”
Features
Section titled “Features”- PostgreSQL-based REST API
- Permissions handled via PostgreSQL roles
- REST API for tables & views, CRUD
- Full-text search supported
- JSON data querying and filtering
- Limit settings for big tables
- Various response formats supported (json, csv, etc.)
- Table & view joins supported
- Partition tables supported
- Procedures/functions that return a table form supported
- Bulk insert of json and csv data
- Binary data supported
Drawbacks
Section titled “Drawbacks”- Only supports PostgreSQL
- Tables must have FOREIGN KEY constraints to handle joins
- Because of the URL-based constraints, the query syntax is not intuitive
Key Features
Section titled “Key Features”- REST API Query
- Table Query, Field Selector

- Table Query, Field Selector
- Table & View Join
- ER-Diagram

- Table Join Query

- ER-Diagram
- Response Format
- Various Response Formats supported

- Various Response Formats supported
Supabase
Section titled “Supabase”- https://supabase.com/
- A platform built on PostgREST that integrates management of the database and storage (files).
- It is built around PostgreSQL and does not support other databases.
- We evaluated it as a SaaS offering in 2021. It now officially supports self-hosting as well.
Architecture
Section titled “Architecture”
Features
Section titled “Features”- Database & Storage Management Platform
- Managed per Project
- Retains all the features of PostgREST
- Supports GraphQL
- Provides S3-based Storage functionality
- Provides UI and REST API
- Provides UI SDKs for Javascript, Python, Node.js, etc.
- Supports migration of existing PostgreSQL
- Supports OAuth Authentication
Drawbacks
Section titled “Drawbacks”- (As of 2021) SaaS-centric, self-hosting is now supported
- Only supports PostgreSQL
- REST API & SDK Learning Curve
Key Features
Section titled “Key Features”- Features provided in the UI
- Table Data management

- Storage management

- Database management

- Table Data management
- SDK support
- Javascript SDK

- Other SDKs

- Javascript SDK
Hasura
Section titled “Hasura”- https://hasura.io/
- It describes itself as a GraphQL Engine.
- Unlike the other products, it can use other databases such as MS-SQL in addition to PostgreSQL.
Architecture
Section titled “Architecture”
Features
Section titled “Features”- GraphQL Engine
- Supports both a Docker Image and SaaS
- Supports PostgreSQL, MS SQL, Citus/Hyperscale, BigQuery, with more continually being added
- Table management and GraphQL supported in the UI
- No FK required to handle joins; handled via Relationship configuration
- Uses GraphQL
- Filter (action) configuration on API services, authentication, etc.
- Collects/delivers database changes as events, Triggers
- Schedule Trigger functionality
- Provides REST API and CLI
Drawbacks
Section titled “Drawbacks”- No database management functionality
- No SDK
Key Features
Section titled “Key Features”- UI Features
- API testing

- Database connection and management

- Action management

- Monitoring

- API testing
- GraphQL

- CLI

- Supported Databases


- SaaS offering
