This is a node.js template for your custom Alexa Skill.
Prerequisites:
Let's go:
- Clone this repository
git clone...
- Rename the cloned folder for you needs and jump into
cd my-folder/src/
- In the src folder: install the node modules
npm install
And there you have it: start coding!
For local alexa skill development I use Bespoken Tools. When installed once, just do the following:
- Start your lambda proxy:
bst proxy lambda src/index.js
- Take the proxy url and use it as Https Service Endpoint for your skill in the Amazon Developer portal. Now you can instant test your implementation in the Test Simulator or with a real Echo.
If you need a zip file for your AWS lambda function, just do the following:
- In the src folder:
npm run zip
- Go to the dist folder and find your zip file which you can upload to AWS.