Google Cloud Firestore Session Samples
THIS REPOSITORY AND PACKAGE WILL BE DEPRECATED IN JULY 2024
An express session store backed by Google Cloud Firestore.
@google-cloud/connect-firestore is an express session store backed by Google Cloud Firestore.
Note: Cloud Firestore is a persistent, distributed, transactional database. Often, it's more appropriate to choose a different storage solution for sessions such as Memcache or Redis as their designs offer much faster operation in this use case.
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
View the source code.
Usage:
node samples/quickstart.js