-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
User Story: As a user, I want a clean and intuitive interface to register for a new account or log into my existing one.
Acceptance Criteria:
- Create an
AuthModulein the Angular application with routes for/loginand/register. - Build the registration form using Angular Reactive Forms with fields for name, email, and password.
- Implement client-side validation for all fields (e.g., required, valid email, password strength).
- Build the login form with fields for email and password.
- Create an
AuthServiceto handle API calls to the backend for both registration and login. - On successful login, store the received JWT securely (e.g., in
localStorage) and navigate the user to the main dashboard. - Display clear error messages from the API on the UI.