Company
Date Published
Author
Jose Oliveros
Word count
2263
Language
English
Hacker News points
None

Summary

This Spark application uses the Twilio API to create an automated survey conducted over SMS or phone call. The application reads a JSON object with questions into a Java object using Google's Gson library. It then interacts with Twilio and uses a factory-based approach to build TwiML responses, which are used to guide the user through the survey. The application stores the caller's response in MongoDB and displays the survey results on a dynamic dashboard. The code is well-structured and follows good object-oriented design principles.