Now that we have a base application with a simple CRUD, it's time to added user authentication. For now let's keep it simple, we just need to be able to authenticated using 4 endpoints:
Obtain JWT token
Refresh token
Register
Forget password (This one is optional for now)
After this, let's make all non-GET-endpoints to be "Authenticated only".
Now that we have a base application with a simple CRUD, it's time to added user authentication. For now let's keep it simple, we just need to be able to authenticated using 4 endpoints:
After this, let's make all non-GET-endpoints to be "Authenticated only".