Google Cloud Platform storage driver for Djorm
npm install --save djorm-storage-gcp
config({
storages: {
default: {
driver: 'djorm-storage-gcp.GcpFileStorage',
basePath: '',
bucketName: 'bucket-name',
clientEmail: 'serviceaccount@gcp.com',
privateKey: '### BEGIN PRIVATE KEY ...',
projectId: 'gcp-project-id',
}
}
})