crabfit/api/adaptors/datastore
2023-05-16 01:37:01 +10:00
..
src Change how cleanup trait fn works using a date cutoff 2023-05-16 01:37:01 +10:00
Cargo.toml Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00
README.md Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00

Google Datastore Adaptor

This adaptor works with Google Cloud Datastore. Please note that it's compatible with Firestore in Datastore mode, but not with Firestore.

Environment

To use this adaptor, make sure you have the GCP_CREDENTIALS environment variable set to your service account credentials in JSON format. See this page for info on setting up a service account and generating credentials.

Example:

GCP_CREDENTIALS='{"type":"service_account","project_id":"my-project"}'