DUNGEONS-34: start frontend and backend with one npm command #2

Merged
Perfect_Python500 merged 1 commits from codex/dungeons-34-one-command into main 2026-09-06 11:51:07 +00:00

Starting Webka previously required separate dependency-install, frontend-build, and backend commands. A root npm run dev:all command now handles these steps and serves the frontend plus API together at 127.0.0.1:3000.

npm run dev:all -- --host 0.0.0.0 --port 3002 overrides the listener. The launcher caches unchanged frontend output, prints usable local/LAN URLs, validates ports, and stops its child processes on Ctrl+C. Explicit local/LAN origin aliases preserve authentication and signaling when using both addresses. The README includes the complete startup instructions; Node 22.12+ and Rust/Cargo are required once.

Validation: four launcher unit tests, eleven Rust tests, strict Clippy, and the exact-command integration test pass. Integration covers automatic installation/build, all pages, local/LAN authentication, QR port, foreign-origin rejection, cached restart, Ctrl+C listener cleanup, and occupied-port rejection. No site was published.

Closes DUNGEONS-34

Starting Webka previously required separate dependency-install, frontend-build, and backend commands. A root `npm run dev:all` command now handles these steps and serves the frontend plus API together at `127.0.0.1:3000`. `npm run dev:all -- --host 0.0.0.0 --port 3002` overrides the listener. The launcher caches unchanged frontend output, prints usable local/LAN URLs, validates ports, and stops its child processes on Ctrl+C. Explicit local/LAN origin aliases preserve authentication and signaling when using both addresses. The README includes the complete startup instructions; Node 22.12+ and Rust/Cargo are required once. Validation: four launcher unit tests, eleven Rust tests, strict Clippy, and the exact-command integration test pass. Integration covers automatic installation/build, all pages, local/LAN authentication, QR port, foreign-origin rejection, cached restart, Ctrl+C listener cleanup, and occupied-port rejection. No site was published. Closes DUNGEONS-34
Perfect_Python500 added 1 commit 2026-09-06 11:47:48 +00:00
Perfect_Python500 merged commit d9560f60dc into main 2026-09-06 11:51:07 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Perfect_Python500/Webka#2