-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(notification): Send notification to users
- write unit test - send email notification to users - create database on firebase - set up firebase configuration - populate database with user notifications [Delivers #159206059]
- Loading branch information
Showing
29 changed files
with
3,042 additions
and
468 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import { } from 'dotenv/config'; | ||
module.exports = { | ||
development: { | ||
username: process.env.DB_USER, | ||
|
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,12 @@ | ||
export default { | ||
type: 'service_account', | ||
project_id: process.env.PROJECT_ID, | ||
private_key_id: process.env.PRIVATE_KEY_ID, | ||
private_key: process.env.PRIVATE_KEY.replace(/\\n/g, '\n'), | ||
client_email: process.env.CLIENT_EMAIL, | ||
client_id: process.env.CLIENT_ID, | ||
auth_uri: process.env.AUTH_URI, | ||
token_uri: process.env.TOKEN_URI, | ||
auth_provider_x509_cert_url: process.env.AUTH_PROVIDER_X509_CERT_URL, | ||
client_x509_cert_url: process.env.CLIENT_X509_CERT_URL | ||
}; |
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
Oops, something went wrong.