-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor configs onboarding for project
- Loading branch information
1 parent
dadfa3c
commit 0d8fe03
Showing
7 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const config = { | ||
type: 'service_account', | ||
project_id: 'miaajudadev', | ||
private_key_id: process.env.FIREBASE_AUTH_CONFIG_PRIVATE_KEY_ID, | ||
private_key: process.env.FIREBASE_AUTH_CONFIG_PRIVATE_KEY, | ||
client_email: '[email protected]', | ||
client_id: '105126767310578944074', | ||
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: 'https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-1djmt%40miaajudadev.iam.gserviceaccount.com', | ||
}; | ||
|
||
const databaseURL = 'https://miaajudadev.firebaseio.com'; | ||
|
||
module.exports = { | ||
config, | ||
databaseURL, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const config = { | ||
type: 'service_account', | ||
project_id: 'miaajudadev', | ||
private_key_id: process.env.FIREBASE_CONFIG_DEV_PRIVATE_KEY_ID, | ||
private_key: process.env.FIREBASE_CONFIG_DEV_PRIVATE_KEY, | ||
client_email: '[email protected]', | ||
client_id: '105126767310578944074', | ||
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: 'https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-1djmt%40miaajudadev.iam.gserviceaccount.com', | ||
}; | ||
|
||
|
||
const databaseURL = 'https://miaajudadev.firebaseio.com'; | ||
|
||
|
||
module.exports = { | ||
config, | ||
databaseURL, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const config = { | ||
type: 'service_account', | ||
project_id: 'miaajuda-1b205', | ||
private_key_id: process.env.FIREBASE_CONFIG_PRIVATE_KEY_ID, | ||
private_key: process.env.FIREBASE_CONFIG_PRIVATE_KEY, | ||
client_email: '[email protected]', | ||
client_id: '103236107628512014144', | ||
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: 'https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ee658%40miaajuda-1b205.iam.gserviceaccount.com', | ||
}; | ||
|
||
const databaseURL = 'https://miaajuda-1b205.firebaseio.com'; | ||
|
||
module.exports = { | ||
config, | ||
databaseURL, | ||
}; |