wesonweb / houseyourplants_app

0 stars 0 forks source link

User authentication #7

Open wesonweb opened 9 months ago

wesonweb commented 9 months ago

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...

wesonweb commented 5 months ago

JSON Web Token

Use JWT to authenticate users. Bcrypt package can be used to hash passwords.