Git Product home page Git Product logo

alexa-raffle-skill's Introduction

Raffle Skill using Voxa

Development Setup

  • git clone this repository
  • Install and use Node v6.10.0
  • Run npm install
  • Edit config/local.json with all of the requisite fields.

npm run watch will start the server and watch for changes.

Directory Structure

`config/` -> Environment variables or configuration
`services/` -> API clients, Authentications and Extras
`skill/` -> Amazon Echo Skill login, the state machine and flow
`speechAssets/` -> Amazon Echo Utterances, Intent Schema and Custom Slots.
`tests/` -> Unit Tests
`www/` -> Public site, expose for authentication.
`gulpfile.js` -> Gulp tasks
`package.json` -> Dependencies
`README.md`

Database structure

This example is hosted in a DynamoDB table which follows the next structure:

`id` -> Default id for every row (Number)
`dot` -> Quantity for the dot prize (Number)
`eco` -> Quantity for the Echo prize (Number)
`shirt` -> Quantity for the shirt prize (Number)
`participants` -> List of people who will participate in the raffle (List)
`winners` -> List of people who have already won a prize (List)

The winners field also works to exclude people from next raffles so the same person does not win more than once.

alexa-raffle-skill's People

Contributors

omenocal avatar

Watchers

Steven Hansen avatar Mark Tucker avatar Rain avatar  avatar Christian Torres avatar Andrés Reyes Monge avatar James Cloos avatar  avatar Mitchell Harris avatar Juan Gutiérrez avatar Daniel Gordon avatar  avatar Bruce Lampson avatar  avatar Jose Luis Matus avatar  avatar Rommel Berrios avatar Edwin avatar nathanlisch avatar  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.