A very simple backend to save data from the check-in app.
-
GET Request will return a list of all the users that already checked in. It will return something like.
[ {"user":"1234567890", "checked_in": false}, {"user":"2123456789", "checked_in": true} ] -
POST create a new useer on the db. Send something like:
{"user": "1234567890", "checked_in": false}
-
GET will return user details
-
PUT will update the user state. Just send something like:
{"checked_in": true}