Login
You can log in the app by using already registered users.
User Types
There are by default 3 users that can be logged in:
[email protected]
with passwordsecret
[email protected]
with passwordsecret
[email protected]
with passwordsecret
For the PRO version, there are 3 type of roles so the user can be an admin - it can view, add, edit and delete users, roles, categories, tags and items, and has full access, creator - it can view, add, edit and delete categories, tags and items, member - it can only eidt its own profile.
For the FREE version the user does not have a role and it can edit its profile. CRUDs are a PRO feature.
An authorization context was used, together with an HttpService and AuthSerivice found in the /src/services
folder where the requests were defined. The authorization context found in /src/context
stores the token, handles the login, register, logout and gets the current user.