This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
Releases: dyaa/loopback-connector-firestore
Releases · dyaa/loopback-connector-firestore
1.0.0
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
0.1.2 README fixes