Open wesonweb opened 9 months ago
As a user, I can create an account and login / log out As an admin I can do everything a user can do and also add, edit and delete plants
Authentication is essential to ensure only logged in users with the role of admin can add, delete or edit plants in the database.
more to follow...
Use JWT to authenticate users. Bcrypt package can be used to hash passwords.
Authenticate users
As a user, I can create an account and login / log out As an admin I can do everything a user can do and also add, edit and delete plants
Authentication requirement
Authentication is essential to ensure only logged in users with the role of admin can add, delete or edit plants in the database.
Implementation
more to follow...