bodgery / bodgery-member-api

1 stars 1 forks source link

Implement user sessions #12

Closed frezik closed 5 years ago

frezik commented 5 years ago

Save user session data in the database as a JSON string. Hand the session key to the user in a cookie. Lookup the session data with that key, and put the decoded in the context_wrap() function in app.ts.