Google Cloud Datastore Sessions
Note: Cloud Datastore 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.
npm install @google-cloud/connect-datastore
You must have a Google Cloud project and credentials.
See gcloud node's documentation on setting up authentication.
const Datastore = ;const express = ;const session = ;const app = ;const DatastoreStore = session;app;
- See CONTRIBUTING.md
- Apache 2.0 - See LICENSE