angel3_rethinkdb 8.0.1 copy "angel3_rethinkdb: ^8.0.1" to clipboard
angel3_rethinkdb: ^8.0.1 copied to clipboard

This is RethinkDB service for Angel3 framework. RethinkDB is an open-source database for the realtime web.

example/example.dart

import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_rethinkdb/angel3_rethinkdb.dart';
import 'package:belatuk_rethinkdb/belatuk_rethinkdb.dart';
import 'package:logging/logging.dart';

void main() async {
  RethinkDb r = RethinkDb();
  var conn = await r.connect(
      db: 'testDB',
      host: "localhost",
      port: 28015,
      user: "admin",
      password: "");

  Angel app = Angel();
  app.use('/todos', RethinkService(conn, r.table('todos')));

  app.errorHandler = (e, req, res) async {
    print('Whoops: $e');
  };

  app.logger = Logger.detached('angel')..onRecord.listen(print);
}
0
likes
160
points
57
downloads

Publisher

verified publisherdukefirehawk.com

Weekly Downloads

This is RethinkDB service for Angel3 framework. RethinkDB is an open-source database for the realtime web.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

angel3_container, angel3_framework, belatuk_json_serializer, belatuk_rethinkdb

More

Packages that depend on angel3_rethinkdb