Skip to content

antonversal/atlassian-connect-firestore

Repository files navigation

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

About

Atlassian Connect Express Firebase Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published