altogic_dart 0.0.9 altogic_dart: ^0.0.9 copied to clipboard
Dart client for Altogic. Altogic is a backend application development and execution platform, enabling people and businesses to design, deploy and manage scalable applications.
example/altogic_dart_example.dart
import 'package:altogic_dart/altogic_dart.dart';
Future<void> main() async {
var client = createClient(
'https://c1-na.altogic.com/e:62863f06bb75ed002ed0f207',
'5ad8526dbd014613a8dbeff60daa7c26');
await client.auth.signInWithEmail('mehmedyaz@gmail.com', 'mehmetyaz');
// print(signIn.errors);
//
// print(signIn.session?.toJson());
// print(signIn.user?.toJson());
//
// await client.endpoint.get('path').asList();
var res = await client.db.getStats();
print(res.data);
///
///
}