Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pulyaevskiy/firestore-interop

Dart facade for Cloud Firestore NodeJS client library.
https://github.com/pulyaevskiy/firestore-interop

Last synced: about 1 month ago
JSON representation

Dart facade for Cloud Firestore NodeJS client library.

Awesome Lists containing this project

README

        

# Dart facade for Cloud Firestore NodeJS client library.

_Type definitions are auto-generated using `dart_js_facade_gen` tool._

Usage:

```dart
import 'package:firestore_interop/firestore_interop.dart';
import 'package:js/js.dart';
import 'package:js/js_util.dart';

void main() {
var firestore = initFirestore(
projectId: '',
keyFilename: '',
);
var doc = firestore.doc('/posts/intro-to-firestore');
doc.set(jsify({'body': 'Hello World'})).then(allowInterop((_) {
print('Doc saved.');
}), allowInterop((error) {}));
}
```

## Features and bugs

Please file feature requests and bugs at the [issue tracker][tracker].

[tracker]: https://github.com/pulyaevskiy/firestore-interop/issues/new