A dashboard built with Angular Dashboard Framework and Firebase. It shows data from json, markdown files and iframes, but does not serve as a data storage / aggregation. Simple charts using D3 and C3.
A live demo can be viewed here.
Install bower and grunt:
npm install -g bower
npm install -g gulpClone the repository:
git clone https://github.com/simonbuechi/angular-firebase-dashboard
cd angular-firebase-dashboardInstall npm and bower dependencies:
npm install
bower install- Create account on http://www.firebase.com
- Create new app
- Replace firebase URL in scripts/app.js
.value('firebaseUrl', 'https://YOUR_APP.firebaseio.com')
.value('firebaseDashboardsUrl', 'https://YOUR_APP.firebaseio.com/dashboards/')
- Set security rules in your Firebase app:
{
"rules": {
"users": {
"$user_id": {
".write": "$user_id === auth.uid",
".read": "$user_id === auth.uid"
}
},
"public": {
".read": true,
".write": "auth != null"
}
}
}
You can start the sample dashboard, by using the serve gulp task:
gulp serveNow you open the sample in your browser at http://localhost:9001/sample
Or you can create a release build of angular-dashboard-framework and the samples:
gulp allThe sample and the final build of angular-dashboard-framework are now in the dist directory.
- Angular Dashboard Framework
- Bootstrap
- Angular Bootstrap
- D3 visualization library
- C3 D3-based reusable chart library
- ...
- Color palette: http://www.google.com/design/spec/style/color.html#color-color-palette
- RSS feed
- JSON
- .md file
- directly entered (markdown) text
- URL, shown as iframe
- markdown (text or file)
- iframe (url)
- news (rss)
- data/numbers (json)
- chart (json)
- Clean implementation of widgets as submodules
- Make chart and edit widget editable via UI
- More efficient data queries to/from Firebase
- Submodules (widgets) are not loaded properly, sometimes. As a workaround, use git command (e.g. git submodule add https://github.com/simonbuechi/adf-widget-markdown app/widgets/markdown)