Data storage on the cloud

We use Firebase (https://www.firebase.com) for storing data on the cloud. Firebase is a backend-as-a-service provider which provides REST endpoints for data storage. We create webhooks to the Firebase REST endpoints to push data from the Photon to the cloud. We will pass the data to be stored in the Particle.publish() function at the time of invocation of the webhook event. 

The following screenshot shows Firebase project creation screen:

Data storage on the cloud
Figure 8: Project creation in firebase.com

We need to create a project in Firebase, but first we need to create an account at firebase.com. Point your browser to https://www.firebase.com ...

Get Learning IoT with Particle Photon and Electron now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.