Firebase

A Google sponsored app development platform

Firebase is an interesting platform that provides various services for application development. It is primarily for mobile app development.

Using Firebase with Heroku

If you have a firebase.json file that has all of the authorization info in it, you should NOT commit that to github.

Instead, use a script such as this one: setHerokuEnv.py which takes a JSON file and stores all of the key value pairs into a Heroku app.

From the app on Heroku, you can use whatever means your programming langauge has for accessing environment variables to get the values. For example, in Python, you use code like this

Tutorials

A “Cloud Firestore” Java tutorial (i.e. the Firebase database) oriented towards CS56 students (though it used SparkJava instead of Spring Boot). Written by Fuheng (Charlie), a mentor from CS56 M18.

Getting Started

Firebase with Java

These links has information about using Firebase with Java:

Related topics: