Trigger FCM using Node JS Server | How to send push notifications using Node JS and Firebase?

Published: 09 July 2023
on channel: Aditya Thakur
55,220
693

In this video, we see how you can create a Node JS Server using Firebase Admin SDK to send out push notifications.

When you hit a post endpoint on the Node JS server, it delivers a notification to a Flutter app using Firebase Messaging.

We also deploy the Node JS Server to a free hosting (https://render.com).

Documentation Links -
Setup Firebase admin SDK in Node: https://firebase.google.com/docs/admi...
Add a Service account to authorise send: https://firebase.google.com/docs/clou...
Send message using Node: https://firebase.google.com/docs/clou...

GitHub Gist (with Node Server code)
https://gist.github.com/adityathakurx...


----------------------------------------------------------------------------
Hey!
I am Aditya Thakur, a Developer and Designer. I make videos on Flutter, Python, and other technologies. I also sometimes take up Profile Building and entrepreneurship!

💙 Learn how to use Flutter with Firebase:    • FlutterFire - Free Firebase for Flutt...  

🎬 Python Debugged Playlist:    • Python Debugged  

📚 PROMOS
Get an exclusive 10% discount on every GeeksforGeeks course!!
Use code: ADITYAT
Check out courses here: https://practice.geeksforgeeks.org/co...

💰 INVESTMENT APPS
Invest in stocks using Paytm Money: https://paytmmoney.onelink.me/9L59/85...
Create a free account | Binance: https://accounts.binance.cc/en/regist...
Trade at India’s largest exchange | WazirX: https://wazirx.com/invite/xen3p4h3

⚙️ My Gear
📸 Camera: https://amzn.to/3Ha7xrm
🎙️ Mic (Maono AU): https://amzn.to/3N9BBHm
🖥️ Mechanical Keyboard: https://amzn.to/40C8PCz

I post stories about my life and business on my Instagram -   / adityathakurxd  

Want to talk business? Or ask a question?
Reach out to me on LinkedIn:   / adityathakurxd  
----------------------------------------------------------------------------

Become a part of my community! (100+ Developers already 🥰)
Link to Discord/Telegram: https://linktr.ee/flutterdev