Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/penso/blog-sse

This repository shows how to use Rails, Sinatra and SSE to have realtime update to highcharts. The following blog post gives you more info.
https://github.com/penso/blog-sse

Last synced: 30 days ago
JSON representation

This repository shows how to use Rails, Sinatra and SSE to have realtime update to highcharts. The following blog post gives you more info.

Lists

README

        



### Highcharts and real time update through SSE

This repository is an empty [Rails](http://www.rubyonrails.org/) application
showing you how to get [HighCharts](http://www.highcharts.com) charts with
realtime update, using [Server-Sent
Events](http://en.wikipedia.org/wiki/Server-sent_events) through a complete
async Rails stack.

This is explained on a blog post at
[http://blog.penso.info](http://blog.penso.info) and you can see a live
[jsfiddle](http://jsfiddle.net/fabienpenso/vPXms/4/) (without the SSE
part).

### Usage

$ git clone https://github.com/penso/blog-sse.git
$ cd blog-sse # This repository use RVM
$ bundle install
$ rails s

Then check `http://localhost:3000/`

### Author

[Fabien Penso](http://blog.penso.info)