config/firebase.ts
export const FIREBASE_ADMIN = {
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": ""
}
export const FIREBASE_CLIENT = {
apiKey: "",
authDomain: "",
databaseURL: "https://xxxx.firebaseio.com",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: ""
};
yarn install
yarn start
output/[project-id].xlsx
FIREBASE_CLIENT can found in
- https://console.firebase.google.com
- Project Settings
- General
- your apps
- Firebase SDK snippet
- config
FIREBASE_ADMIN can found in
- https://console.firebase.google.com
- Project Settings
- Firebase Admin SDK
- Generated new Private Key