0.1.0 • Published 5 years ago

rijola v0.1.0

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

rijola

Rijola is the most simple and direct way to have your business data on a wallboard.
It just need a simple config object, and you have your dashboard ready to go.
It's optimized to be displayed on 16:9 TV screen, but works great also on anu monitor resolution.

#Installation

npm i rijola --save

Usage

const rijola = require('rijola')

let config = {
  dashboards: [
    // your dashboard and tiles configuration
  ]
}
rijola.start(config);
// open your browser at locahost:5000 and you are done!

Configuration

Rijola supports multiple dashboards, every dashboard can be configured to have as many columns ad rows you want;
Every dashboard can have as many tiles can fin in.

Tiles

let config = {
  dashboards: [ 
    // fist dashboard
    {
      cols: 6,      // number of cols
      rows: 3,      // number of rows
      time: 10000,  // how mutch milliseconds this dashboard will be on screen
                    // before the nex one will be displayed
      tiles: []     // all the tiles present on this dashboard
    },
    // second dashboard
    {
      cols: 3,
      rows: 2,
      time: 15000,
      tiles: [] 
    }

  ]
}

Tiles