How sparrowapp-dev/sparrow-app works
Project type and purpose
• Sparrow is a full‑stack, monorepo‑style API management platform.
• Frontends:
– Desktop client (Tauri + Rust + Svelte).
– Web client (Svelte + Vite).
– Design system / Storybook for UI components.
• Backends (external repos, orchestrated via Docker Compose):
– Auth service (NestJS + MongoDB).
– API service (NestJS + MongoDB + Kafka).
– Proxy/gateway service.
• Shared code (packages/@sparrow‑*): common DTOs, component libraries, utilities.
File structure
• Top‑level folders:
– apps/@sparrow‑desktop, apps/@sparrow‑web, apps/@sparrow‑storybook
– packages/@sparrow‑common, @sparrow‑library, @sparrow‑support, etc.
– docker‑compose.yml for local infrastructure.
– .github/workflows for CI/CD pipelines.
• Monorepo pattern: share common code in “packages”, consume in “apps”.
• Separate Svelte/Vite configs per app, Cargo config under desktop for Rust/Tauri.
README for technical stack
• Frontend: Svelte 3/4, Vite, Storybook.
• Desktop: Tauri + Rust for native shell + Svelte UI.
• Backend (not in this repo): NestJS, Mongoose (MongoDB), Kafka.
• Dev & deploy: Docker, Docker Compose, Yarn, Husky, GitHub Actions.