Photo by Lazar Gugleta on Unsplash

Developing with Spring and Alexa

Create a Skill with the Axios HTTP Client Library

Craig Walls
2 min readJan 20, 2022

--

📚 Connect with us. Want to hear what’s new at The Pragmatic Bookshelf? Sign up for our newsletter. You’ll be the first to know about author speaking engagements, books in beta, new books in print, and promo codes that give you discounts of up to 40 percent.

Talking Application Tutorial

Many voice applications begin and end with the voice user interface. Indeed, thousands of Alexa Skills have been published that don’t integrate with a backend of any kind. At most, the skill relies on a database like DynamoDB or Airtable for data persistence.

Adding voice as the front-end to an otherwise voiceless application’s API expands the capabilities of voice assistants. Perhaps even more importantly — adding voice gives users a convenient, hands-free user interface. Users are able to choose between voice and the web or mobile UIs available for that application.

In the following video, I show you how to develop an Alexa skill that uses the Axios HTTP client library to consume a Spring-based API. Perhaps the most interesting aspect is that I show you how to do the development of both ends locally with Spring Boot DevTools and the Alexa SDK local debugger. This approach allows rapid development without deploying either to the cloud.

Check it out and let me know what you think! You can leave comments and questions by clicking the Comments icon.

https://www.youtube.com/watch?v=Ff6n7KOBQt0

If you enjoyed this post with video tutorial, you might also enjoy Build Talking Apps for Alexa by Craig Walls, now available in beta from The Pragmatic Bookshelf:

You can save 35 percent with promo code alexa_2022 now through March 1, 2022. Promo codes are not valid on prior purchases.

--

--