Skip to content

jsrubin/foos-table-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foos-table-scheduler

A foosball table reservation app. UI is built using React for a 3.5" touch screen display running on a raspberry pi.

Services

  • 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

UI

  • display upcoming reservations
  • reserve table 15/30/45

Run Unit tests

npm test

About

Foosball table scheduling app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages