issues
search
anasakil
/
artisan
MIT License
1
stars
1
forks
source link
User Authentication System
#3
Open
anasakil
opened
3 months ago
anasakil
commented
3 months ago
Define the User model with fields for email, password, and role.
Create authentication routes for signup and login.
Implement password hashing with bcryptjs on user registration.
Generate and validate JSON Web Tokens for user authentication.
Create middleware for protecting routes that require authentication.