Skip to main content

phatsa 0.1.0 copy "phatsa: ^0.1.0" to clipboard
phatsa: ^0.1.0 copied to clipboard

Phatsa client for Dart and Flutter. App user auth, plugin tables, and RPC over the Phatsa REST API.

example/phatsa_example.dart

import 'package:phatsa/phatsa.dart';

Future<void> main() async {
  final phatsa = PhatsaClient('https://your-project.phatsa.com', key: 'pk_...');

  await phatsa.auth.signIn(email: 'user@example.com', password: 'secret');

  final threads = await phatsa.from('forum', 'forum_threads').eq('status', 'open').order('created_at', ascending: false).limit(20).fetch();
  print(threads);

  await phatsa.auth.signOut();
}
0
likes
160
points
784
downloads

Documentation

API reference

Publisher

verified publisherphatsa.com

Weekly Downloads

Phatsa client for Dart and Flutter. App user auth, plugin tables, and RPC over the Phatsa REST API.

Homepage

Topics

#backend #api #authentication

License

MIT (license)

Dependencies

http

More

Packages that depend on phatsa