software-students-fall2021 / project-setup-penguin

project-setup-penguin created by GitHub Classroom
3 stars 4 forks source link

implement auth & sessions #134

Closed janethuangg closed 2 years ago

janethuangg commented 3 years ago

guidelines

to-dos - only show signup/login modal when user is not logged in - only render deck edit/delete button for deck owner - disable deck add card button for someone who has already added a card - show logout/account buttons instead of login/signup when user is logged in - redirect not logged in users to log in page if they attempt to directly access account page

kdduan commented 2 years ago

The BE will need to return a JWT when the user logs in or signs up. For the FE, we can store the userId in local storage rather than cookies.