Photo by Lazar Gugleta on Unsplash

Developing with Spring and Alexa

Create a Skill with the Axios HTTP Client Library

📚 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.

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.

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.

Recommended from Medium

How to deploy a React application to production with Docker multi-stage builds

EventBridge Storming — How to build state-of-the-art Event-Driven Serverless Architectures

Who is sending UDP traffic?

TRON Developer Guide — Multi-Signature

Rom Development -Interest Group

Newbie in Python & Medium

BKD trees, used in Elasticsearch

Aeon v0.13.0 Network Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Craig Walls

Craig Walls

Author Spring in Action and Build Talking Apps for Alexa

More from Medium

Quick-to-Read Books on Sale November 27

How Programming Language Interpterers Execute Your Code

3 Things I’ve Learned From 10 Years on Github

After the Crash, the Bash