Git Product home page Git Product logo

alexa-jack-handey-skill's Introduction

alexa-jack-handey-skill

deep thoughts by jack handey

Overview

This small Node.js library demonstrates a rudimentary Lambda function and supporting IntentSchemas and Utterances for an Jack Handey as an Alexa Skill.

This integrates with Contentful using the request library to allow for dynamically managed/loaded Deep Thoughts.

Prerequisites

  1. Node 6.10+
  2. Yarn

AWS Setup

  1. Sign up for a free Contentful account and create a Management Token (under APIs -> Content management tokens -> Generate personal token)
  2. Sign up for an AWS account
  3. Install AWS CLI
  4. Create/configure an AWS IAM user with a LambdaFullAccess policy attached to it
  5. Create a blank Alexa Skills Kit Lambda Function called JackHandeySkillFunction
  6. Create a local aws-cli profile called PERSONAL:LAMBDA and utilize the access key and secret key from the user you made in Step 3
    • aws configure --profile PERSONAL:LAMBDA

Lambda Environment Variables

Environment Variable Source
CONTENTFUL_CDN_TOKEN The Contentful CDN token from your account
CONTENTFUL_SPACE_ID The Contentful Space ID from your account
CONTENTFUL_BASE_URL The base URL for Contentful, e.g. https://cdn.contentful.com or https://preview.contentful.com

Note: Contentful creates a default key called Example Key upon creation of your free account

Contentful Setup

  1. Install contentful-import
  2. cd contentful
  3. contentful-import --space-id YOUR_SPACE_ID_HERE --management-token YOUR_MANAGEMENT_TOKEN_HERE --content-file contentful-export-jackhandey.json

Local Setup and Automatic Deployment

  1. Clone this repo
  2. yarn install
  3. npm run aws:deploy

alexa-jack-handey-skill's People

Contributors

ericnograles avatar

Watchers

 avatar  avatar

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.