dorm-social-room-manager / dsrm-frontend

front-end part of the dorm social rooms manager project
0 stars 0 forks source link

connect login form with backend #21

Open kaczor6418 opened 1 year ago

kaczor6418 commented 1 year ago

After user logins to our service, we should save a JSON web token to remember the user and do not force him to login every time he visits our page.

We should create a react-hook to fetch all needed information about user (avatar, first name, last name ...).

React JWT tutorial/example: https://www.youtube.com/watch?v=Avfa7RrPx_Q