altogic_dart 0.0.1 copy "altogic_dart: ^0.0.1" to clipboard
altogic_dart: ^0.0.1 copied to clipboard

outdated

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 = await AltogicClient.init(
      envUrl: '{YOUR-REMOTE-URL}', clientKey: '{YOUR-CLIENT-KEY}');

  var signIn =
      await client.auth.signInWithEmail('mehmedyaz@gmail.com', 'mehmetyaz');

  if (signIn.errors != null) {
    // signed in
  } else {
    // error
  }

  var dbRes = await client.db.model('car').create({'car_name': 'My car'});

  if (dbRes.errors != null) {
    print(dbRes.data);
  }
}
14
likes
0
points
109
downloads

Publisher

verified publisheraltogic.com

Weekly Downloads

Dart client for Altogic. Altogic is a backend application development and execution platform, enabling people and businesses to design, deploy and manage scalable applications.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on altogic_dart