realtime-dart

Listens to changes in a PostgreSQL Database and via websockets.

A dart client for Supabase Realtime server.

pub package pub test

Docs

The docs can be found on the official Supabase website.

Testing

The unit tests run without any external services:

dart test -x integration

The integration tests in test/realtime_integration_test.dart run against a real Supabase Realtime server. Start the local Supabase stack with the CLI first (from the repository root), then run the full suite (it exercises both protocol versions, 1.0.0 and 2.0.0):

supabase start
dart test
supabase stop

Credits

License

This repo is licensed under MIT.

Libraries

realtime_client
Listens to changes in a PostgreSQL database via websockets using Supabase Realtime.