A coffee kiosk accounting application. The perfect solution for your office where you don't have a vending machine and have to manage your own office coffee piggy bank. This solution offers you a MongoDB/node.js powered API, an iPad app and Graphite publishing agent to make this part of your office life easy and fun.
The backend exposes RESTful-like JSON API for retreiving users and posting "cup" events, which will descrease the user's balance.
The default cost of a cup is 0.15 EUR (you can change it in the server.js
). The detailed API description you can find just looking into the source code of the server.js
.
- Node.js (v0.10+)
- CocoaPods (0.27+)
Installing and running the server:
$ cd Server
$ npm install .
$ node server.js
The application will be available by default at http://localhost:9999/.
The admin interface at http://localhost:9999/admin/.
Installing and running the iPad application:
$ cd iPad
$ pod install
$ open KaffeeKiosk.xcworkspace
Example of the admin panel to manage users and their balances.
This example shows the app running on the old iPad 1 (iOS 6.1) in the custom case locked to a table with standard Kensington lock.