Alexa skill, written in Node JS, Using Express, with ask-sdk-express-adapter
In 2018, after reading an article on Hackaday, I picked up an Amazon Echo Dot to experiment with building voice interfaces. It was surprisingly easy, and with no experience, I got something up and running in a couple hours.
I haven’t looked at this in a while, and had another project in mind. Looking at the Alexa development documentation today, all the examples leverage Amazon’s Lambda’s compute service. For my project, I didn’t want to use Lambda, I just wanted to use Express on Node JS. Amazon has NPM library for this, ask-sdk-express-adapter, but I couldn’t find ANY end-to-end example, and I struggled for a bit to get it to work. I think it took me longer the 2nd time around!
SO - here’s a simple example, hopefully it’s got the right keywords for anyone who’s stumbling on the same problem. Keywords:
- node js
- javascript
- ask-sdk-express-adapter
- express
- sample code
- example code
- alexa
|
|
Hope that helps!