Skip to content

bbc/croissant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra App using Faye - BBC News Hack 2016

Run locally

bundle install

bundle exec rackup -s thin -E production

Dynamo Setup

Create a table called hack_day, fields that are created on POST

"QuestionID"
"endTime"
"questionText"
"startTime"
"no"
"yes"

POST data to the /questions endpoint with the following JSON structure

{
	"questionText": "Did you vote in the last election",
	"startTime": "2016-02-19T12:42:57.713Z",
	"endTime": "2016-02-19T12:47:57.713Z"
}

#### Routes:

Credits:

David Blooman
Mark McDonnell
Alex Norton

Note: this was completed as part of a hack day, so please don't judge us on the quality (or lack-thereof) of our code

About

Ruby and Websockets using Faye

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published