You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Build the Login and Register pages (responsive, accessible) and wire them to the backend endpoints:
POST /api/auth/register
POST /api/auth/login
Use existing UI styles (Tailwind / CSS Modules / Styled Components depending on project). Reuse the AuthPages file created in canvas or split into Login.jsx and Register.jsx.
Description
Build the Login and Register pages (responsive, accessible) and wire them to the backend endpoints:
Use existing UI styles (Tailwind / CSS Modules / Styled Components depending on project). Reuse the AuthPages file created in canvas or split into Login.jsx and Register.jsx.
Suggested files
Requirements / Acceptance criteria
Example usage
{
"success": true,
"data": {
"token": "eyJ...",
"user": { "id": "...", "name": "Alice", "email": "alice@example.com", "role": "member" }
}
}
Testing checklist