GithubHelp home page GithubHelp logo

walletconnect / firebase-walletconnect-push Goto Github PK

View Code? Open in Web Editor NEW
15.0 13.0 18.0 1.14 MB

WalletConnect Push Notification Firebase Webhook

License: MIT License

TypeScript 100.00%
walletconnect push-notifications push firebase firebase-cloud-messaging firebase-functions

firebase-walletconnect-push's Introduction

Push Notification Webhook (Firebase Cloud Function)

This is a WalletConnect push notification webhook you can deploy as a firebase cloud function.

Setup

Step 1 - Change directory and Install dependencies

cd functions && npm install

Step 2 - Authenticate

npx firebase login

Step 3 - Initiate Firebase and Select your project

npx firebase use --add

Step 4 - Generate service account json file

Go to this link, generate a service account then generate a private key and download it. Copy file to src/service-account.json

Step 5 - Deploy function to Firebase

npm run deploy

Step 6 - Visit this link and enable Firebase Cloud Messaging API

Open https://console.developers.google.com/apis/api/fcm.googleapis.com/overview?project=_ select your project then enable Firebase Cloud Messaging API.

Features:

  • registration and push notification endpoints
  • integration with FCM, for push notifications
  • integration with PushKit for better support on iOS
  • add logging on errors, for monitorig purposes
  • scheduled function for database cleanup
  • github workflow for automatic function deployment

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.