GitHub - supabase/supabase-flutter: Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products. (original) (raw)

Supabase

Supabase Flutter

Flutter Client library for Supabase.

Run locally

This repo is a monorepo powered by Melos containing supabase_flutter and its sub-libraries. All packages are located in the packages directory.

To install on a locally developed app:

Testing

The tests for the packages postgrest, gotrue and storage_client need some Supabase services running. To run these tests locally, you need to have the docker cli with docker-compose installed.

The needed configuration for starting the services are in the infra directory.

To start the services change working directory to infa/<package> and run the following command:

Run the Dart tests within the package directory in packages/<package> with the following command: The -j 1 flag runs the tests not concurrently, which works better since the tests are running against the same services.

To stop the services run the following command in the infra/<package> directory:

Contributing

License

This repo is licenced under MIT.

Resources