Controller for the Hackathon Demo Countdown app to control the data inside of Firebase.
This app uses a Firebase Firestore NoSQL Database
To get this to work with Firebase, you will need to setup 4 apps on Firebase:
- iOS
- Android
- Web
- macOS (use iOS instructions)
All the instructions can be found here.
For Web, make a file inside web
called google-services.js
and paste the creds into it:
var firebaseConfig = {
apiKey: "CREDS",
authDomain: "CREDS",
databaseURL: "CREDS",
projectId: "CREDS",
storageBucket: "CREDS",
messagingSenderId: "CREDS",
appId: "CREDS",
measurementId: "CREDS"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);