apbarrero / swimming-webtask

Webtask to store my swimming records

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swimming-webtask

Webtask to store my swimming records from my twitter stream when I use the hashtag #apbarreroswimming like this.

Detailed information on how to create your own webtasks in this article.

Set up

Mac OSX

brew install node.js
npm install -g wt-cli

Use

wt init
wt create --secret MONGO_URL=<mongodb_url> swimming.js
curl <returned_url>&createdAt=<date>&text=<text>

Results

Check DB contents (read-only access):

$ mongo ds049854.mongolab.com:49854/stats -u guest -p guest

About

Webtask to store my swimming records


Languages

Language:JavaScript 100.0%