- We need a form to be able to log in. This form should make a POST request to '/api/v1/auth' with params of username and password
- When we get back the response, we want to save the token someplace
- probably into out
localStorage
usinglocalStorage.setItem
- Every additional request should send along the token that we've saved in our localStorage as a header called 'Authorization'
- On the client side, when a component goes to mount, we should make sure that we have that token saved in session storage before it renders. If we don't, the user should be redirected to the login form