ContentDetailed description of the section content.
Instructions
- Fork this repository: https://github.com/WesternSydneyUniversity/comp3036-blog-storage
- Solve all tasks below, make sure all tests pass and push to your repo!
Tasks
- Cookies: Complete the
/api/login/cookieroute to set a securesession_idcookie if password is correct and verify it in/api/check-session/cookie. - JWT: Complete the
/api/login/jwtroute to return a session token if password is correct and set a refresh token and verify it in/api/check-session/jwt - Issue a new session token at
/api/login/refreshwhen correct refresh token is provided - Local Storage: Finish the
SavePrefscomponent to save and display a user’s post filter preference. - Session Storage: Complete the
Draftcomponent to save and retrieve a draft specific to the current tab. - IndexedDB: Implement the
saveDraftandloadDraftsfunctions indraftsDB.tsto store and display multiple drafts.
✅ Success!