Coder Social home page Coder Social logo

ryoichi-obara / alexa-skill-boilerplate-v2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 615 KB

Alexa Skills Kit (ASK) SDK for Node.js バージョン2 用のテンプレート.

License: MIT License

JavaScript 94.03% Shell 5.97%
nodejs javascript aws node node-js lambda alexa alexa-skill alexa-skills-kit alexa-custom-skill

alexa-skill-boilerplate-v2's Introduction

Alexaスキルのテンプレート (alexa-skill-boilerplate-v2)

Alexa Skills Kit (ASK) SDK for Node.js バージョン2 用のテンプレート.

Alexaスキルのテンプレートです。
起動して、メイン処理を呼ぶという簡単なスキルのテンプレートです。

準備

git clone [email protected]:ryoichi-obara/alexa-skill-boilerplate-v2.git 【スキル名】
cd 【スキル名】

npm i

設定変更箇所

  • package.json
    • name
    • description
  • up.sh
    • 【S3バケット名】
    • 【Lambda名】

実装

src/index.js に実装をします。
// TODOの部分を主に書き換えます。

  • SKILL_ID
  • メッセージ関連
  • インテント名
  • スロット

テスト

npm run test

Lambdaの入れ替え

npm run make

aws s3 cp ./build/Release/index.zip s3://【S3バケット名】/
aws lambda update-function-code --function-name 【Lambda名】 --s3-bucket 【S3バケット名】 --s3-key index.zip --publish

または

./up.sh

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.