Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markshust/firebase-keen
https://github.com/markshust/firebase-keen
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markshust/firebase-keen
- Owner: markshust
- Created: 2015-03-02T09:18:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-03T15:19:43.000Z (almost 10 years ago)
- Last Synced: 2024-05-02T00:43:47.360Z (8 months ago)
- Language: JavaScript
- Size: 2.45 MB
- Stars: 23
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# firebase-keen
Code for show & tell tutorial at https://www.airpair.com/firebase/posts/making-a-keenio-dashboard-realtime-by-integrating-it-with-firebase--d3js
This script is an example of how to make a Keen.io real-time dashboard by integrating it with Firebase.
This is the result of the finalized example script, which demonstrates average purchase cost by gender:
![Real-Time Dashboard](https://raw.githubusercontent.com/markoshust/firebase-keen/master/images/dashboard.gif)
After modifying the auth credentials for Firebase and Keen.io in the scripts, you would:
Start the event job queue worker:
node workers/eventJobQueueWorker.js
Create some events:
node workers/eventJobQueueGenerator.js
Streaming data from Keen.io back into Firebase:
node workers/keenCacheWorker.js
Then once we have a couple keen cache records, we'll fire up our dashboard:
open index.html
For more info, please read the complete tutorial at https://www.airpair.com/firebase/posts/making-a-keenio-dashboard-realtime-by-integrating-it-with-firebase--d3js
## License
WTFPL - Do what you want with it and have fun. If you want to contibute any other cool ideas for integrating Keen.io with Firebase, let me know so that I can post back to it here!
If you like this script and are feeling philanthropic, please donate funds to [My Alzheimer's Walk Page for Team Shust](http://shust.com). It's a fantastic organization and your donation will go a long way in finding a cure for a horrible disease.