Skip to content

feat(ui): Build registration and login forms #3

@Zafar7645

Description

@Zafar7645

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 AuthModule in the Angular application with routes for /login and /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 AuthService to 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.

Metadata

Metadata

Assignees

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions