Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Getting Started with Gradle and the Spark Framework

Blog post from Twilio

Post Details
Company
Date Published
Author
Eddie Zaneski
Word Count
1,665
Language
English
Hacker News Points
-
Summary

The author, Eddie Zaneski, aims to show that it's easy to build a cool web app using Java with the Spark Framework. The author starts by creating a new Gradle project and configuring it to use the Spark Framework and Twilio SDK for SMS and voice calls. With 7 simple lines of code, the author is able to spin up a serving totally rad caffeinated HTTP request. The author then tweaks the code to receive an SMS with the name of a song, respond with a phone call, and play a snippet of the song using the Spotify API. The completed code creates a complete web app that demonstrates how easy it can be to build a web app in Java using Spark and other libraries.