Company
Date Published
Author
Carter Rabasa
Word count
2293
Language
English
Hacker News points
None

Summary

The author of the text is Carter Rabasa, and he wrote this blog post about building a real-time SMS and voice voting application using Node.js. The previous parts of the series created a scalable voting application that can process votes for events via SMS or voice and display the real-time progress of voting. However, there was no web interface for administrators until this part of the series. This tutorial uses AngularJS to create a simple web interface for administrators. It covers creating the beginning of a simple AngularJS app, routing web requests to it through Node.js, authentication using CouchDB credentials, and handling login with a RESTful API and the $http interceptor. The application interacts with the server via AJAX calls and checks for 401 errors to let the user know they need to log-in. The tutorial also covers building a RESTful login API and creating a view for the app.