Skip to content

ficusio/ficus-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Listener protocol

~> inital_state: {state: PresentationState, poll: Poll?, pollVote: int? }
~> presentation_state: PresentationState
~> poll: Poll | false

<~ init: {clientId: String, presentationId: String}
<~ vote_up
<~ vote_down
<~ question: String
<~ poll_vote: int

PresentationState: 'not_started' | 'active' | 'ended'

Poll: {
  id: String,
  title: String,
  options: [
    {
      label: String,
      color: '#rrggbb'
    }
  ]
}

Usage

$ npm install
$ bower install
$ node server.js
$ brunch w -s

About

Интерфейс слушателя проекта Ficus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published