chore: add session auth to event-board example#167
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #167 +/- ##
=======================================
Coverage 83.86% 83.86%
=======================================
Files 138 138
Lines 2969 2969
Branches 560 560
=======================================
Hits 2490 2490
Misses 340 340
Partials 139 139 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- in-memory API: login/logout/me, HttpOnly `session` cookie, per-user RSVP toggle, `author` on created events - injectable `ApiService$`/`EventsService$`/`UserService$`/`IntlService$`; SSR requests forward the session cookie and locale - login page, user zone in the header, route guard with SSR 302, localized 404 page - svelte variant gets intl parity and is renamed to `svelte-nano_kit-intl-ssr` - examples sync merges shared dirs instead of replacing them, keeping variant-local files - `.env.example` per variant; API spec + auth integration tests (107 total) - vite is deduped to a single 8.1.2 across the workspace
dangreen
force-pushed
the
chore/event-board-auth
branch
from
July 15, 2026 11:10
9604670 to
fa7cecd
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.
Brings the event-board example up to a complete fullstack reference:
sessioncookie, per-user RSVP toggle,authoron created eventsApiService$/EventsService$/UserService$/IntlService$; SSR requests forward the session cookie and localesvelte-nano_kit-intl-ssr.env.exampleper variant; API spec + auth integration tests (107 total)Depends on #166 — the 404 status integration test needs the
notFound(loadable(...))router fix; merge #166 first and update this branch.