Awesome Open Source
Awesome Open Source

alexa-skill-boilerplate Standard - JavaScript Style Guide Build Status

An easy to use Amazon Alexa Skill Boilerplate for fast skill creation

For In-Depth Explanation on how to use this check out my blog post

Requirements

Node v8.0.0

Yarn v0.24.6

Getting Started

  1. Clone the repository:
$ git clone https://github.com/acucciniello/alexa-skill-boilerplate.git
  1. Install all packages:
$ yarn
  1. Start Adding Intents to your skill by editing app.js.

Testing

This uses mocha for a testing framework, chai for an assertion library, and bespoken-tools to mock Alexa behavior

$ yarn test

Deployment

This command will deploy it to lambda given you have sent up your environment for Claudia usage.

In order to have this properly set up:

  1. Create a folder in your user’s home directory on your computer
$ mkdir ~/.aws && cd ~/.aws
  1. Create a file called credentials
$ touch credentials
  1. Edit that file to have your AWS Credentials
[claudia]
aws_access_key_id = ACCESS_KEY_ID_FROM_AWS_PAGE
aws_secret_access_key = SECRET_KEY_FROM_AWS_PAGE
  1. Deploy to Lambda
$ yarn deploy

Once deployed, you can update your lambda function with:

$ yarn upload

License

MIT

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,091,101
Lambda (13,972
Amazon (11,078
Mocha (3,854
Alexa (3,570
Aws Lambda (3,475
Travis Ci (2,591
Chai (1,687
Alexa Skill (982
Boilerplate Template (613
Assertion Library (242
Amazon Echo (241
Amazon Alexa Skill (101
Claudiajs (30
Alexa App (13