firebase_admin_interop 0.0.1 firebase_admin_interop: ^0.0.1 copied to clipboard
Interop for Firebase Admin Node SDK
Usage example #
1. Install dependencies #
$ pub get
$ npm install
2. Export credentials in environment, e.g. #
export FIREBASE_PROJECT_ID="my-project-id"
export FIREBASE_CLIENT_EMAIL="my-admin-1231@something.iam.gserviceaccount.com"
export FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nFA6FFAA...."
export FIREBASE_DATABASE_URL="https://my-project-id.firebaseio.com"
3. Build #
$ pub build bin
4. Run #
$ node build/bin/example.dart.js