@hasiltech/service-helper
v2.16.44
Published
## Server Helper
Downloads
1,323
Readme
Help
Server Helper
Setting up Firebase envs
Once you have created your firebase project using
Firebase Console
, log intoGoogle Cloud
and go toService Accounts
Find the service account auto created by firebase, typically has
firebase-adminsdk-*
prefix and click on it.Go to
Keys
and create a new key as JSON.Download the key and you will get the following envs from there:
FIREBASE_PROJECT_ID
: useproject_id
FIREBASE_CLIENT_EMAIL
: useclient_email
FIREBASE_PRIVATE_KEY
: useprivate_key
MongoDB Triggers
Add env
ENABLE_SYNC_BROADCAST
Add env
SYNC_BROADCAST_TOPIC
Add env
SYNC_BROADCAST_REGION