This project demonstrates how to use Firebase Cloud Messaging (FCM) with Next.js. The UI is minimal and displays a table that shows the index, from, title, body, and data properties of the messages received.
I know that process.env is a part of Node.js so It's not available in the vanilla javascript. but I'm looking for a way to not include them in the repo. to easily update them on deployment.