API design in Node.js with Express, v3
Practice Project - Lesson 5 / Exercise 4
Authentication
- test command -
npm run test-auth
In this exercise you'll be locking down our API using JWT's.
- create a signup controller
- create a signin controller
- create a protect middlware to lock down API routes
- ensure all tests pass by running test command