Hi,
We have a simple exercise for you. You have to create few endpoints for a project manager tool. Firstly we have two types of users: regular users and admins.
What a regular user can do:
- register (username, email, password, first name, last name)
- login (username, password)
- see details about his profile (username, email, first name, last name), just if he it's logged in, and he must only be able to view HIS profile