FLUTTER ECOSYSTEM

postgrest

PostgREST client for Dart. This library provides an ORM interface to PostgREST.

Latest version
2.9.1
30-day downloads
1.1M
Likes
137
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

PostgREST is a Dart client library that provides an ORM-like interface for interacting with PostgREST, a RESTful API server for PostgreSQL databases. It enables developers to perform database operations using HTTP requests, abstracting SQL queries into intuitive method calls. Designed for use with Supabase, it simplifies data retrieval, insertion, updates, and deletion across multiple platforms. The library supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for full-stack Dart applications.

Use cases
  • Building real-time apps with Supabase
  • Performing CRUD operations on PostgreSQL
  • Integrating backend logic without custom APIs
  • Creating cross-platform database-driven apps
  • Simplifying database interactions in Flutter
  • Enabling secure, scalable data access
Key features
  • ORM-style interface for PostgREST
  • Supports all major platforms
  • Seamless integration with Supabase
  • Type-safe query building
  • Automatic JSON serialization
  • Flexible filtering and sorting
Suitable for
  • Flutter developers using Supabase
  • Apps requiring direct PostgreSQL access
  • Teams avoiding custom backend services
  • Projects needing rapid prototyping
  • Developers seeking lightweight database clients
Considerations
  • Requires a running PostgREST server
  • Dependent on Supabase ecosystem
  • Limited to PostgreSQL-backed APIs
  • Authentication must be handled externally
  • Not suitable for complex SQL scenarios without customization
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add postgrest

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects

No data available yet.