GithubHelp home page GithubHelp logo

ericcarraway / alexa-lambda-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brewencoded/alexa-lambda-starter

0.0 3.0 0.0 39 KB

Starter project for Alexa ASK projects using AWS Lambda

JavaScript 99.65% Shell 0.35%

alexa-lambda-starter's Introduction

Alexa + Amazon AWS Lambda Starter Kit (Node.js 6.x.x)


This will offer everything you need to get started on Amazon's ASK with an AWS Lambda backend.

The Goal:

  • Get your Skill up and running ASAP
  • Give a generic structure that you can build upon
  • Offer documentation in the codebase and tests to aid with comprehension

What's included:

  • Eslint - to keep your code consistent
  • Mocha & Chai - to test your code
  • Sinon - for better functional testing
  • Joi - self documenting schema to make sure your requests and responses are valid

Getting Started: (This will probably change)

  1. git clone https://github.com/brewencoded/alexa-lambda-starter.git
  2. cd alexa-lambda-starter
  3. npm install

To test: npm run test

To build: npm run build WIP

To deploy: npm run publish WIP

If you have not set up the AWS CLI, click here for detailed instructions.

Now you're ready to get started. The build script will produce what is to be uploaded to AWS Lambda. Make sure when you create a Lambda, that you select the "Alexa Skill Kit" trigger.

Make sure to modify the publish.sh to reflect your Lambda function's name. If you're on Windows replace rm with del and replace the zip line with your preferred utility. You will get an error on the first run since the zip file doesn't exist yet.

TODO

  • Mocha and Chai
  • Sinon
  • Eslint
  • --fix to automatically fix simple issues
  • Joi validation
  • Testing scripts
  • Response schema validation
  • Request schema validation
  • Intent schema
  • Sample utterances
  • Slots
  • Code coverage
  • Build scripts
  • Deploy scripts
  • Add Continuous Integration
  • Docker Support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.