Software apps and online services
Chuck Norris is an example of a joke skill for the Amazon Alexa service. I began the project using
$ npm install -g yo generator-alexa-skill $ mkdir chuck-norris-alexa-skill $ cd !$ $ yo alexa-skill
This generates a skeleton Alexa skill, with npm scripts for running tests, packaging and deploying to AWS Lambda.
I call the ICNDB API to retrieve a joke, sprinkle in a bit of conversation using inline SSML markup and finally return it to Alexa.
To deploy the skill to AWS Lambda, I simply:
$ npm run deploy