Offline-first practice management app tailored for Sri Lankan doctors. Built with Electron, React, Vite, Mantine UI, and a local SQLite database for secure data storage without internet requirements.
- Guided onboarding wizard that enables only the modules a doctor needs
- Secure offline database using SQLite (via sql.js with on-disk persistence)
- Appointment scheduling, patient records, prescriptions, billing, inventory, analytics, and collaboration modules
- React Query powered data layer with optimistic mutations and caching
- Mantine UI components for an accessible, customizable interface
- Node.js 18 or later (ships with npm)
npm installStarts Vite for the renderer and Electron for the main process.
npm run devnpm run typecheck
npm run lintnpm run buildBuild artifacts are written to dist/ (renderer) and dist-electron/ (main and preload scripts).
electron/– main process, preload bridge, and SQLite-backed persistencesrc/– React renderer (routes, features, hooks, stores)shared/– Reusable TypeScript types shared between main and renderer
vite.config.ts– shared Vite config with Electron plugintsconfig*.json– TypeScript configuration with shared path aliases.eslintrc.cjs/.prettierrc– Formatting and linting rules
- Wire automated tests for IPC handlers and React components
- Implement real data persistence workflows per module requirements
- Add packaging scripts (e.g.,
electron-builder) for distributable installers
MIT © MediBridge Team