postbasefl 0.1.1 copy "postbasefl: ^0.1.1" to clipboard
postbasefl: ^0.1.1 copied to clipboard

The official Dart/Flutter client for Postbase — a self-hosted, open-source backend as a service built on PostgreSQL. REST query builder, auth, storage, and RLS support for Flutter and plain Dart.

example/postbasefl_example.dart

import 'package:postbasefl/postbasefl.dart';

Future<void> main() async {
  final postbase = createClient(
    'https://your-postbase-instance.com',
    'pb_anon_your_api_key',
    options: const PostbaseClientOptions(projectId: 'your-project-id'),
  );

  final result = await postbase.from('posts').select().eq('status', 'published').order('created_at', ascending: false).limit(10);

  if (result.error != null) {
    print('Query failed: ${result.error}');
    return;
  }
  print('Posts: ${result.data}');

  postbase.dispose();
}
0
likes
130
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The official Dart/Flutter client for Postbase — a self-hosted, open-source backend as a service built on PostgreSQL. REST query builder, auth, storage, and RLS support for Flutter and plain Dart.

Homepage
Repository (GitHub)
View/report issues

Topics

#postbase #backend #database #authentication #storage

License

MIT (license)

Dependencies

app_links, crypto, flutter, flutter_secure_storage, http, http_parser, meta, shared_preferences, url_launcher

More

Packages that depend on postbasefl