Skip to content

Add app shell: storage, API client, mock backend, routes - #5

Merged
TuvalZit18 merged 1 commit into
mainfrom
feat/app-shell
Oct 17, 2026
Merged

TuvalZit18 merged 1 commit into
mainfrom
feat/app-shell

Conversation

@TuvalZit18

Copy link
Copy Markdown
Owner
  • Versioned, failure-safe localStorage module (shared/storage)
  • fetch wrapper with typed ApiError (shared/api)
  • MSW mock for POST /api/register: validation (400), duplicate email (409), simulated failure for fail@example.com (500), 201 with user and token. Same handlers run in the browser worker and in Vitest
  • Router with AppLayout and placeholder Home, Register, Account and Not found pages; React Query provider
  • Bootstrap: start MSW, create router, render
  • Tests for storage, the mock API and routing

The Redux store moves to Stage 5 with the first slice. Document the MSW 3 import paths and option names in backend.md.

- Versioned, failure-safe localStorage module (shared/storage)
- fetch wrapper with typed ApiError (shared/api)
- MSW mock for POST /api/register: validation (400), duplicate email
  (409), simulated failure for fail@example.com (500), 201 with user
  and token. Same handlers run in the browser worker and in Vitest
- Router with AppLayout and placeholder Home, Register, Account and
  Not found pages; React Query provider
- Bootstrap: start MSW, create router, render
- Tests for storage, the mock API and routing

The Redux store moves to Stage 5 with the first slice. Document the
MSW 3 import paths and option names in backend.md.
@TuvalZit18
TuvalZit18 merged commit e7efff0 into main Oct 17, 2026
1 check passed
@TuvalZit18
TuvalZit18 deleted the feat/app-shell branch October 17, 2026 16:46
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