1.2 KiB
1.2 KiB
CLQMS Frontend Project Overview
- Purpose: Frontend for Clinical Laboratory Quality Management System (CLQMS), handling authenticated lab quality workflows.
- App type: SvelteKit SPA/static frontend that talks to backend API.
- Backend dependency: API expected at
http://localhost:8000in development;/apiis proxied in Vite. - Auth model: JWT-based auth with automatic redirect to
/loginon 401. - Main docs:
README.md,AGENTS.md,DEPLOY.md.
Tech stack
- SvelteKit
^2.50.2 - Svelte
^5.49.2with runes ($props,$state,$derived,$effect,$bindable) - Vite
^7.3.1 - Tailwind CSS 4 + DaisyUI 5
- Lucide Svelte icons
- Package manager: pnpm
- Module system: ES Modules (
"type": "module")
Rough structure
src/lib/api/API client and feature endpointssrc/lib/stores/shared stores (auth, config, valuesets)src/lib/components/reusable UI (Modal, DataTable, Sidebar)src/lib/utils/helpers and toast utilitiessrc/lib/types/TS type definitionssrc/routes/(app)/authenticated pages (dashboard,patients,master-data)src/routes/login/public login routestatic/static assetsbuild/production output