Commit Graph

7 Commits

Author SHA1 Message Date
1a44b1085f fix: use VITE_NKODE_API_URL env var matching Dokploy build args 2026-01-29 23:32:56 +00:00
5c3217e3d5 fix: replace frontend with Rust OPAQUE API + Flutter keypad UI
- Full OPAQUE auth flow via WASM client SDK (client-wasm crate)
- New user: Key Register → Key Login → Code Register (icon selection) → done
- Existing user: Key Login → get login-data → icon keypad → Code Login → done
- Icon-based keypad matching Flutter design:
  - 2 cols portrait, 3 cols landscape
  - Key tiles with 3-col sub-grid of icons
  - Navy border press feedback
  - Dot display with backspace + submit
- SVGs rendered as-is (no color manipulation)
- SusiPage with Login/Signup tabs
- LoginKeypadPage and SignupKeypadPage for code flows
- Secret key display/copy on signup
- Unit tests for Keypad component
- WASM pkg bundled locally (no external dep)
2026-01-29 17:05:32 +00:00
7494bf7520 fix dockerfile: use bun instead of npm, add .dockerignore 2026-01-29 16:11:38 +00:00
ae0bf107db feat: add WASM client binaries for OPAQUE auth 2026-01-29 16:04:43 +00:00
278227090a fix: use correct VITE_NKODE_API_URL env var in Dockerfile 2026-01-29 16:04:02 +00:00
37ad47b7d8 Add Dockerfile for multi-stage build (node → nginx) 2026-01-29 15:19:10 +00:00
a4de830313 feat: nKode React + TypeScript SPA scaffold
- React + Vite + Tailwind CSS v4 + React Router
- Keypad component: 10-digit pad with dot indicators, keyboard support, haptic feel
- Auth pages: Login (email → keypad), Signup (email → method → keypad/key)
- Home page: session info, practice keypad
- Admin dashboard: placeholder stats + user management
- Developer dashboard: OIDC client registration UI placeholder
- WASM client wrapper: lazy loads from /wasm/, falls back to mock client
- TypeScript type declarations for nkode-client-wasm package
- Dark mode with system preference detection
- Auth state management with localStorage persistence + auto-expiry
- Code splitting: lazy-loaded route pages (~236KB main bundle)
- Inter font, clean indigo/slate design system
2026-01-29 14:39:27 +00:00