Logo Awesome React

Awesome React

Build Real Web App with React #03

In this session we

- setup mongoose and create User model
- implement user authentication by searching for user in database and check password
- on react side we'll implement conditional Login/Logout links, that depend on user authentication state
- make login permanent by storing JWT in local storage, so user can reload page and stay logged in
- user logout

Links:

- Support channel - become patron! https://www.patreon.com/remzolotykh
- bookworm-react repo: https://github.com/Remchi/bookworm-react
- bookworm-api repo: https://github.com/Remchi/bookworm-api