Skip to content

msukmanowsky/koa-session-firestore

Repository files navigation

koa-session-firestore

A Firebase Firestore store for the Node Koa Framework.

Have a question? Feel free to book a slot to talk or file an issue.

Installation

npm i --save koa-session-firestore

Basic Usage

See example/server.js for example usage.

Options

import { FirestoreStore } from "koa-session-firestore";

const store = new Firestore({
    // Firestore instance
    db: firebase.firestore(),
    // Optional: default is sessions
    collectionName: "something"
});