Giter Club home page Giter Club logo

rolling-with-alexa's Introduction

Build Status codecov

Rolling with Alexa

This repo is the source code for the talk Voice User Interfaces with Alexa and Node.js presented at the Rolling Scopes #49 Kraków edition.

Rolling Scopes #49

Checkout the slides!

Local development

Clone and install

> git clone https://github.com/ricardocasares/rolling-with-alexa.git
> cd rolling-with-alexa
> npm install # or yarn

Alexa console

  1. Signup for an Amazon developer account if you haven't one
  2. Go to the Alexa Console and create a new Skill
  3. Choose the skill Name, and select Custom Skill
  4. Under the Interaction Model sidebar menu, click on JSON Editor and copy/paste the JSON under /model/en-US.json
  5. Save & build your skill.

Local server tunneling

In order to develop locally and see your changes reflected instantly, you will need to create an SSH tunnel or expose somehow your local development server. There are several services that allow you to do this, for example ngrok.io or serveo.net.

Using serveo.net

This is the easiest to setup

  1. You need to have an SSH client installed, then simply run
> ssh -R 80:localhost:3000 serveo.net
Forwarding HTTP traffic from [https://YOUR_URL]
Press g to start a GUI session and ctrl-c to quit.
  1. Once you see the URL, copy it and go to your Skill console.
  2. Open the Endpoint menu and select HTTPS
  3. Under Default Region paste the previous URL you copied.
  4. On the select box choose: My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority.
  5. You are done! Just run npm run dev or yarn dev to start the local server and begin testing the skill.

Using ngrok.io

  1. Run npm install ngrok
  2. Run ngrok http 3000
  3. Copy the URL and follow the same steps above from 3 to 6.

Contributing

Feel free to submit a pull request or create a new issue.

rolling-with-alexa's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar ricardocasares avatar

Stargazers

 avatar  avatar  avatar  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.