Skip to content

feat: add frontend authentication and API foundation - #18

Merged
linuka7 merged 1 commit into
mainfrom
feature/frontend-api-foundation
Aug 19, 2026
Merged

feat: add frontend authentication and API foundation#18
linuka7 merged 1 commit into
mainfrom
feature/frontend-api-foundation

Conversation

@linuka7

@linuka7 linuka7 commented Aug 19, 2026

Copy link
Copy Markdown
Owner

M20 authentication and API foundation

Completes the first authenticated frontend flow for DispatchArc.

Included

  • development-only CORS for Vite localhost
  • typed frontend API client and shared contracts
  • auth/session storage using sessionStorage
  • real login screen wired to POST /api/auth/login
  • protected frontend routing
  • authenticated user name and role in the dashboard shell
  • logout flow and redirect protection
  • Jobs API client foundation
  • frontend environment example for API base URL

Verification

  • real tenant + Owner account login tested end-to-end
  • JWT/session flow verified in browser
  • protected /dashboard redirect verified after logout
  • frontend production build passed
  • frontend lint passed
  • backend test suite passed
  • git diff whitespace check passed

This closes M20 and prepares M21 for the real Jobs workspace.

@linuka7
linuka7 merged commit 12a802d into main Aug 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant