https://github.com/mrtazz/ketchupstatus
Status of ketchup supply with sinatra and mustache
https://github.com/mrtazz/ketchupstatus
Last synced: about 1 year ago
JSON representation
Status of ketchup supply with sinatra and mustache
- Host: GitHub
- URL: https://github.com/mrtazz/ketchupstatus
- Owner: mrtazz
- License: mit
- Created: 2010-05-28T21:43:07.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-05-31T18:30:43.000Z (about 16 years ago)
- Last Synced: 2025-01-25T23:17:05.277Z (over 1 year ago)
- Language: Ruby
- Homepage: ketchupstatus.heroku.com
- Size: 156 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# ketchupstatus
Displays status of your shared ketchup resources.
## Background
In our office Monday is chicken/fries/burger day. And we always have a bottle
of ketchup which we share. However before buying burgers in the supermarket
next door, we always forget to check if we have enough ketchup left.
So I quickly threw together a simple sinatra app to set and check the
status.
## API
There are some rather simple API endpoints:
Update your ketchup:
POST /ketchup/$yourketchup/$token/$value
Status of your ketchup:
GET /ketchup/$yourketchup
Create new ketchup:
POST /ketchup/$desiredname
## Beware
You only get the token once and there is no way to recover it at the moment.
## Thanks
[Kevin](http://twitter.com/thesndwichmn) for quickly creating pics and
design on a Friday evening.