Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Releases: dyaa/loopback-connector-firestore

1.0.0

09 Oct 15:18
Compare
Choose a tag to compare

You're no more required to download the serviceAccountKey.json file in the server folder.

So instead you should fill the application's datasource file which is located in /server/datasources.json with those details, You can find them in the downloaded JSON file from the Google Cloud Platform.

"firestore": {
  "name": "firestore",
  "projectId": "",
  "clientEmail":  "",
  "privateKey": "",
  "databaseName": "" // Optional, Default: projectId
}

Connection properties

Property Type   Description ---
projectId String project_id in the JSON file ---
clientEmail String client_email in the JSON file ---
privateKey String private_key in the JSON file ---
databaseName String Firebase's project id Optional, Default: projectId

And you can actually store those private details as an Environment variables, Check source-configuration

Initial Release

07 Oct 16:08
Compare
Choose a tag to compare
0.1.2

README fixes