Skip to content

streamdataio/restlet-poll-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restlet - Streamdata.io - Poll Demo

An API contains lively data, as new content is added and updated when calls are made. However, unless you poll the API regularly, you might not see how lively that data can be. How can you visualize what’s changed, to give the user a real-time view of what’s going on? Furthermore, how can you do it efficiently, without wasting precious bandwidth?

To answer those questions, the Restlet and Streamdata.io teams thought about making a fun demo explaining how you can stream API changes live, in the browser. And speaking of “questions” and “answers”, what about making a little live quizz application, where respondents can vote in real time?

What are the objectives of this tutorial

This demo will show you how to use the main features of APISpark to easily create and deploy your Web APIs in the Cloud. We will then turn an APISpark API into a streaming API thanks to Streamdata.io to reflect changes in real-time.

What do I need to use this tutorial

Besides a web browser and a text-editor (we suggest Sublime Text or Atom), nothing more !

How is the tutorial organized

We have structured the project to allow a Git-less use. The app directory is the main directory of the project, the working version of the code. The tutorial is divided in steps, each one in its own directory:

  1. Create your APIs with APISpark
  2. Retrieve question and choices
  3. Enable users to vote
  4. Bind your UI with APIs
  5. Display results with a Bar Chart
  6. Update your UI in realtime

In each step directory you have a README file that explain the objective of the step, that you will do in the working directory app. If you have problems or if you get lost, looking into the step after will give you the solution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published