bbmcmann/307MovieProject

Implement Protected routes

Closed this issue · 1 comments

Create a middleware function that takes the JWT from the response header, verifies the token, then goes next.
Routes to be protected:

  • post a review
  • edit profile
  • maybe more

3 hours