Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

An example using Firebase Realtime Database and Firebase Cloud Messaging for DAW.

Notifications You must be signed in to change notification settings

DavidCorral94/DAW-Firebase-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DAW-Firebase-Project

This repository contains an example using Firebase Realtime Database and Firebase Cloud Messaging that I will use in my theorical project of DAW (Diseño de Aplicaciones Web).

In order to make it work, you have to:

  1. Clone the repository
  2. Set your own variable and keys in the next files:
  3. Set the Firebase Security Rules of the Database to 'true':
{   
"rules": {
    ".read": "true",
    ".write": "true"
  }
}
  1. At this point, you will be able to receive Push notifications and to use the HTML form to send JSON Objets to the Realtime database.

You can use the Firebase Console to send Push notifications, but also you can use the cURL command that are in /res/notifications.txt to send a Push notification to a specific user or to a specific topic (remember to set your server key).

Interface

Figure 1 - Interface

Push Notification

Figure 2 - Push Notification received

About

An example using Firebase Realtime Database and Firebase Cloud Messaging for DAW.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published