Skip to content

Authentication & Login UI #4

@vivjd

Description

@vivjd

Goal:
Create the frontend login experience for admins and volunteers.

Tasks:

  • Login page with email/password fields
  • POST /api/auth/login → store JWT or session token
  • Redirect based on role (ADMIN → dashboard, VOLUNTEER → home)
  • Logout clears token and redirects to login

Acceptance Criteria:

  • Valid login grants access to protected pages
  • Invalid credentials show an error
  • Session persists safely and clears on logout

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions