Enzobat0/Tontine-Tracker

fix(frontend): show success/error message after user registration

Open

#14 opened on Oct 29, 2025

 (0 comments) (0 reactions) (1 assignee)JavaScript (0 forks)auto 404
enhancementfrontendgood first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

After submitting the registration form the UI currently does not provide a clear visual confirmation that registration succeeded (or failed). Acceptance criteria:

  • When registration POST /api/auth/register returns 201 the frontend displays a visible success message (toast or inline alert) saying e.g. "Registered successfully — you can now log in."
  • When registration returns an error (4xx/5xx) the frontend displays the returned error message as a visible error (not an alert() popup).

Contributor guide