-
Notifications
You must be signed in to change notification settings - Fork 3
Create a Firebase project
Borys H.N edited this page Sep 14, 2016
·
2 revisions
Register your own project for using firebase authentication.
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.
- 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
- this will guide you through creating your Firebase application, and generating your own
- Update
src/main/resources/application.yml
to reflect your own project details for firebase.
There are some old configuration files/classes which are currently not used, but may be necessary for developing tests in the future.
-
FirebaseConfig
andFirebaseProperties
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.
- Move Firebase properties to it's own properties file outside of the classpath, stored in
- if the classes are kept...
-
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.
- if the file is necessary, it will be stored in