A foosball table reservation app. UI is built using React for a 3.5" touch screen display running on a raspberry pi.
- GET/available - is table available
- GET/available?starttime=1469978100000 - is table available for a given timestamp
- POST/schedule?reserve=15 - reserve table now for 15 minutes
- POST/schedule?reserve=15&starttime=1469978100000 - reserve table for 15 minutes for a given timestamp
- PUT/extend&reserve=15 - add 15 minutes to current reservation
- DELETE/cancel - end current reservation
- DELETE/cancel?starttime=1469978100000 - cancel reservation for a given timestamp
- display upcoming reservations
- reserve table 15/30/45
npm test