Skip to content

Comments

Add dashboard foundation with Leptos CSR#6

Merged
arferreira merged 2 commits intomainfrom
feat/dashboard-foundation
Feb 19, 2026
Merged

Add dashboard foundation with Leptos CSR#6
arferreira merged 2 commits intomainfrom
feat/dashboard-foundation

Conversation

@arferreira
Copy link
Contributor

@arferreira arferreira commented Feb 19, 2026

Summary

  • Converts repo to Cargo workspace, adds crates/dashboard/ with Leptos 0.7 CSR app
  • Implements home, login, signup, and projects dashboard pages
  • Adds DashboardMiddleware + rust-embed for single-binary static file serving (non-API paths serve the SPA)
  • Dev workflow: trunk serve on :8080 proxies API to :3000 with hot reload

Architecture

Browser → GET /dashboard/* → DashboardMiddleware serves embedded SPA
Browser → GET /api/v1/*    → Rapina JSON API (unchanged)
Dev:      trunk serve (:8080, proxies /api to :3000)
Prod:     single reeverb binary serves both API + dashboard

Test plan

  • cargo check and cargo clippy pass on both crates
  • trunk build --release produces working WASM output
  • Login flow works end-to-end (register via API, login via dashboard)
  • Projects list loads after authentication
  • All existing API tests still pass

@arferreira arferreira merged commit 6b39708 into main Feb 19, 2026
5 checks passed
@arferreira arferreira deleted the feat/dashboard-foundation branch February 19, 2026 03:13
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