Repository navigation
feat: add packages/spa as React Router v7 + Vite SPA sample - #61
Merged
Merged
Conversation
- separate workspace alongside Next.js client - ssr:false, Node built-in HTTP static server - server-side /api/user proxy (API_URI + API_TOKEN never exposed to browser) - loopback-only, exact Host/Origin validation, raw path parsing, O_NOFOLLOW symlink protection - 5s absolute deadline, decoded body ≤1MiB (with genuine gzip streamed test at limit boundaries + immediate abort) - redirect rejection, client-disconnect/shutdown cancellation, runtime validation + sanitized errors - deterministic dark dashboard UI (connection status, cards, meter-like user list, 4 states, responsive) - full CI (ci-spa.yml + updated ci-client.yml), lint/tsc/build/test pass - Vite dependency split (root vite-plus override + scoped @react-router/dev / vite-node) - spec + 6 rounds qualified code review (Blocking/Major=0, all prior M-00x closed) Closes limit-monitor reference SPA sample request. Base: 8987d19
koh110
force-pushed
the
feature/spa-sample
branch
from
September 15, 2026 07:03
58d33d0 to
ab6b8e3
Compare
koh110
force-pushed
the
feature/spa-sample
branch
2 times, most recently
from
September 18, 2026 05:13
6b1d663 to
3991385
Compare
koh110
force-pushed
the
feature/spa-sample
branch
from
September 18, 2026 05:14
3991385 to
377ef4d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
packages/spaas a React Router v7 + Vitessr:falseSPA sampleGET /api/userwithcredentials: 'include'dist/public; localstartuses Vite preview only/api/userand SPA fallback; nginx example documentedshared/src/api-clientso Next.js and SPA use the same implementationapi.client.tsis only a browser wrapper that addscredentials: 'include'; endpoint-specific loading stays separateCloses limit-monitor reference SPA sample request.