atlassian-connect-firestore
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Firestore Adapter for Atlassian Connect Express

Usage

To use the storage adapter, add the key "adapter" to the config.json:

"store": {
    "adapter": "firestore"
}

Then make sure that you register the adapter factory with the following code:

const admin = require('firebase-admin');
const functions = require('firebase-functions');
const { factory } = require('atlassian-connect-firestore')

admin.initializeApp(functions.config().firebase)

const db = admin.firestore()

ac.store.register('firestore', factory(db))

License

MIT

Package Sidebar

Install

npm i atlassian-connect-firestore

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

11.6 kB

Total Files

14

Last publish

Collaborators

  • ant.ver