Skip to content
Select themeSelect language

Local development setup

This tutorial gets you from a fresh checkout to a green type-check on both the Rust server and the SvelteKit web app.

  1. Type-check the server. From server/:

    Terminal window
    cargo check

    Run this after every change — it is the fastest correctness signal.

  2. Run the web app. From web/:

    Terminal window
    npm install
    npm run dev

    The Vite dev server runs on port 5173 and proxies /api and /ws to the server on :8080.

  3. Type-check the web app. Still in web/:

    Terminal window
    npm run i18n:compile # regenerate Paraglide messages first
    npx svelte-check --threshold error

Before committing, the project expects:

  1. cargo check — 0 errors.
  2. npx svelte-check --threshold error — 0 errors.
  3. npm run lint (oxlint) + npm run format:check — 0 errors.
  4. New i18n keys added to both web/messages/en.json and de.json, then npm run i18n:compile.