In part 3, we'll add database migrations along with password hashing in order to implement token-based authentication to the users service with JSON Web Tokens (JWTs). We'll then turn our attention to the client and add React Router to the React app to enable client-side routing along with client-side authentication.
By the end of part 3, you will be able to...
Check out the live apps, running on EC2 -
You can also test out the following endpoints...
|/auth/login||POST||No||log in user|
|/auth/logout||GET||Yes||log out user|
|/auth/status||GET||Yes||check user status|
|/users||GET||No||get all users|
|/users/:id||GET||No||get single user|
|/users||POST||Yes (admin)||add a user|
Finished code for part 3: https://github.com/realpython/testdriven-app/releases/tag/part3
You will use the following dependencies in part 3: