Open kaczor6418 opened 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
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