Content Deep Dive
Building a Real-time SMS Voting App Part 2: Socket.io and Highcharts.js
Blog post from Twilio
Post Details
Company
Date Published
Author
Carter Rabasa
Word Count
1,870
Language
English
Hacker News Points
-
Summary
In this blog post, we built a real-time SMS voting application using Node.js, CouchDB, Twilio, Highcharts.js, and Socket.io. We created a route for an event, set up a view using Hogan.js, configured Highcharts to display the status of the voting in real-time, and added Socket.io to enable real-time updates. The client-side code was used to establish a connection with the server, send event messages, and update the chart when new votes come in.