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

1.0.0

Latest
Compare
Choose a tag to compare
@dyaa dyaa released this 09 Oct 15:18

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