https://github.com/rogerwelin/sinatra-chartkick-example
Sinatra chartkick
https://github.com/rogerwelin/sinatra-chartkick-example
bundler ruby sinatra sinatra-chartkick
Last synced: about 1 month ago
JSON representation
Sinatra chartkick
- Host: GitHub
- URL: https://github.com/rogerwelin/sinatra-chartkick-example
- Owner: rogerwelin
- Created: 2015-07-23T15:57:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T11:49:00.000Z (about 8 years ago)
- Last Synced: 2025-10-24T03:39:53.769Z (8 months ago)
- Topics: bundler, ruby, sinatra, sinatra-chartkick
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sinatra-chartkick-example
### Synopsis
An example Sinatra app showing how to leverage the chartkick gem to create beautiful charts with one line of code.
### Instructions
1. git clone https://github.com/rogerwelin/sinatra-chartkick-example
2. bundle install --path vendor/bundle
3. bundle exec rackup
4. Head over to localhost:9292
### Further Reading
This is just a minimal example showing how to use chartkick in Sinatra. Typically you would like to pull data from a database, such as mysql, for the chart-data. For this I would advise to use the activerecord and groupdate gems. Further reading:
* Chartkick,
* Activerecord,
* Groupdate,