Skip to content

Create a Firebase project

Borys H.N edited this page Sep 14, 2016 · 2 revisions

Create a Firebase project

Register your own project for using firebase authentication.

Notes

For ease of development, I have this project registered, and the configuration stored on github. This is fine for now, but eventually once it comes time to test a hosted environment, this will no longer suffice for security purposes.

Eventually I will re-generate the google-services.json, and no longer store the file on github.

For now, anyone is free to use my configured authentication for viewing the development progress on the project, as it is not hosted anywhere just yet.

Guided steps

  1. Check out the Firebase android setup guide
    • this will guide you through creating your Firebase application, and generating your own google-services.json file
    • you can ignore the full android setup and using google-services, unless that's what you need for your project! All you really need to get the appserver up and running is the configuration properties from google-services.json
  2. Update src/main/resources/application.yml to reflect your own project details for firebase.

Upcoming process changes

There are some old configuration files/classes which are currently not used, but may be necessary for developing tests in the future.

  1. FirebaseConfig and FirebaseProperties classes may be removed from the project, they are currently not used, but may be needed to create a full auth test.
    • if the classes are kept...
      • Move Firebase properties to it's own properties file outside of the classpath, stored in data/firebase directory. Create a .gitkeep file for the directory, and not store the configuration on github.
  2. google-services.json may be removed from the project. It's currently not used, but may be needed to create an automated full auth test.
    • if the file is necessary, it will be stored in data/firebase directory, and git ignored.
Clone this wiki locally