Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Push Notification with FCM node-typescript #319

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Thre4dripper
Copy link

@Thre4dripper Thre4dripper commented Dec 7, 2024

What does this PR do?

This pull request adds a new template for "Push Notifications with FCM" using Node.js and TypeScript. It includes:

  • A .gitignore file to ignore unnecessary files.
  • A README.md to document the usage, configuration, and environment variables needed.
  • Source files (main.ts and utils.ts) to handle sending push notifications using Firebase Cloud Messaging.
  • Configuration files for TypeScript and Prettier.
  • A package.json and package-lock.json to manage dependencies.

Test Plan

I have created a test script from which a user can test the flow of push notification.

After adding necessary env variables and adjusting test.js file

image

image

Have you read the [Contributing Guidelines on issues]

Yes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant