An app to let your slack coffee group know when there's coffee
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
modules
node_modules
.gitignore
package.json
readme.mkdn
server.js

readme.mkdn

Coffee App

This is a server that will generate Jasonette valid Jason for IOS or Android (or the respective Jason apps).

The Apps show the faces of the slack users in the channel specified in the .env file. If a face is pressed, a slackbot will update the channel saying coffee is brewing, and 12 minutes later that coffee is ready.

Using it

Development

You'll need node installed and npm Run npm install inside of the repo directory. Create a .env file in the root of the directory with the following items:

SLACKKEY=<your-slack-token>
COFFEECHANNEL=<The coffee channel id>
TESTINGCHANNEL=<a public channel id for testing>

An easy way to find the channel identifiers is to use this page and search for the channel names and copy the identifiers.

Run the server with 'node server.js'.

And finally either build an Android or IOS app (following the directions here), or point the relevant Jason app (ios, android) at localhost:3000/jsonette.json