Giter Club home page Giter Club logo

ff-draft-app's Introduction

Fantasy Football Draft Room

Hey sports fans, welcome to my latest Node.js experiment. Check out the hosted version of the Twilio Fantasy Football Draft Room.

Features

Usage

This app contains a single endpoint /voice for Twilio to use in setting-up your conference room. The TwiML is defined in views\voice.hjs and is currently configured to support conference calls with a max of 14 participants and a max duration of 3 hours. You can easily edit this to your liking:

<Response>
  {{^digits}}
  <Say>Welcome to the Fantasy Football Draft Room</Say>
  <Pause length="1"/>
  <Say>Brought to you by Twilio</Say>
  <Pause length="1"/>
  {{/digits}}
  {{#id}}
  <Say>Connecting you to your conference now</Say>
  <Dial timeLimit="10800">
    <Conference maxParticipants="14" waitUrl="http://twimlets.com/holdmusic?Bucket=com.twilio.music.rock">{{id}}</Conference>
  </Dial>
  {{/id}}
  {{^id}}
  <Gather method="get" numDigits="4">
    <Say>Please enter your 4 digit code now</Say>
  </Gather>
  {{/id}}
</Response>

Installation

Step-by-step instructions on getting this up and running:

  1. Create free accounts on Twilio, Nodejitsu and RedisToGo if you don't already have them. Nodejitsu and RedisToGo are optional, feel free to swap-in similar services.

  2. Create a new Twilio TwiML application (note the Application ID)

  3. Grab the latest source

git clone https://github.com/crabasa/ff-draft-app.git
  1. Create your own config.js file
mv config.sample.js config.js
  1. Edit config.js and configure your Twilio & Redis credentials

  2. Edit package.json and set your own values for subdomain and domains

  3. Deploy to Nodejitsu

jitsu deploy
  1. Point your TwiML application's voiceURL at http://yoursubdomain.jit.su/voice

  2. Done!

Meta

ff-draft-app's People

Contributors

crtr0 avatar robspectre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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