HackGT / SponsorshipPortal

[in development] Web interface for sponsors to view participant information. Integrates with HackGT/registration
GNU General Public License v3.0
7 stars 0 forks source link

Implement user state save/load #60

Open bunsenmcdubbs opened 6 years ago

bunsenmcdubbs commented 6 years ago

API routes (proposed in #58):

Route Method Description Request Response
/user/{id}/state POST Save client state for the current user {state: <state obj>} {status: "ok"}
/user/{id}/state GET Get client state for the current user - {state: <state>}

If #57 (user authentication middleware) is not yet complete, this can be initially implemented with a static user and wait until that feature is merged.