Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.1 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.1 KB

agile-contest-sms

Build Status Coverage Status

While watching a conference talk, you can enter the contest by sending an SMS (a text) to (438) 600-2225. You will receive a response that you've been entered. By the end of the talk a winner will be selected and notified both by SMS.

Presentation

The presentation can be found here

Requirements

  • Node.js (^6.2.2 or ^8.0.0)
  • Yarn npm install -g yarn

Usage

  • yarn - to install dependencies
  • yarn start - will start the server and assign a random port
  • or
  • PORT=55555 yarn start - to set a port

Run Tests

  • yarn test

Routes

  • / - The App
  • /api/incoming - Twilio Incoming Webhook
  • /api/participants - List All Participants
  • /api/winner - Randomly Select and Show a Winner
  • /api/flushall - Delete all participants