Skip to content
Snippets Groups Projects
Commit f7d327c0 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat(auth): implement authentication system with register, login, and middleware

Add API endpoints for user registration and login using bcrypt for
password hashing and comparison. Introduce a Pinia store for managing
authentication state, including login, register, and logout actions.
Implement middleware to protect admin routes, redirecting
unauthenticated users to the login page. Integrate Prisma for database
interactions.
parent 8d50607e
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment