Web app
apps/svelte-web is the active browser application. It owns public property discovery, customer portal workflows, agent dashboard workflows, SvelteKit form actions, browser-specific endpoints, and web UI composition.
| Item | Value |
|---|---|
| Audience | Public users, customers, agents, team admins |
| Local run | cd apps/svelte-web && bun run dev |
| Check | cd apps/svelte-web && bun run check && bun run lint |
| Primary packages | @repo/api, @repo/auth, @repo/database, @repo/notifications, @repo/validation, @repo/redis-search |
| Deploy | Dokploy Docker build (auto on development push) |
Directories to know
Section titled “Directories to know”src/routes: SvelteKit pages, layouts, server loads, and form actions.src/lib/components: reusable UI and domain components.src/lib/server: server-only helpers, image logic, auth integration.messages: Paraglide source messages.project.inlang: i18n project config.
Gotchas
Section titled “Gotchas”- Browser writes generally use form actions, while mobile uses tRPC.
- Compile Paraglide to
src/lib/paraglide, not the CLI default. - Keep user-facing strings in messages.
- Check
@repo/apiservice docs before changing shared behavior.