This demo is an example of how ZingChart and Firebase can be integrated to create an engaging and interactive web app.
Firebase, a cloud services provider and backend as a service company, can be used to power the backend of an application, including data storage, user authentication, static hosting, and more. This demo connects to one of ZingChart's Firebase data stores to generate a chart on the client side.
Check it out here
-
Download or clone this repo.
-
Serve locally using the Firebase-CLI and visit http://localhost:5000/
- Install firebase
npm install -g firebase-tools
- Create "firebase.json"
firebase init hosting
- Update "firebase.json" to the following
{ "hosting": { "public": "public", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] } }
- Update
index.html
with your Firebase data (apiKey, authDomain, databaseURL, storageBucket) - Run demo locally
firebase serve
- Let us know if you make anything cool! We can't wait to hear from you.
- Run the script to get the wave data as a json file
- Import into firebase realtime database
- Login to the admin account
firebase login
- Make sure to be in the correct project
firebase projects:list
- Run
firebase deploy