A way to vote for a venue to get a burger (or anything else) by email. This app lends itself very well to presentations, but it could also be used on screens in offices (for where to get lunch) or for personal use.
People vote by sending emails to your app with the letter of the venue as the subject of the email.
To use, clone the repo to somewhere web accessable and:
npm install
node app.js
Then go to the Parse Webhook section of the SendGrid control panel. Enter your app's information (namely to POST data to YOURDOMAIN.TLD/email
), and point your MX record to mx.sendgrid.net
.
This app uses two APIs and a bunch of great open source software. It's been tested on Chrome OSX & Node.js (0.10.13
and 0.9.12
).
- SendGrid - Voter uses SendGrid to send and recieve email.
- Foursquare - Foursquare is used to get the user's most recently shared location and a list of suggested venues.
- Express.js - Express.js is an awesome Node.js framework that makes creating webapps easy.
- Socket.io - Socket.io ferries recieved emails from the backend to the frontend of the app.
- Hogan.js - Hogan allows for Mustache templating in Node.