Problem
A hospital runs on patient intake, records and clinical workflows, and its staff work at desks, on shared workstations and on their phones. One system has to serve all three without three codebases drifting apart.
What I built
A TypeScript monorepo on pnpm workspaces with three clients: a web app on Next.js, a desktop app on Tauri and React for Windows, macOS and Linux, and a mobile app on React Native. They share packages for types, validation and interface logic. The API runs on Node.js, Express and PostgreSQL, with JWT sessions, two-factor sign-in and role-based access. Vitest suites cover the shared logic, and Playwright runs end-to-end tests in Docker Compose.
Stack
- TypeScript
- pnpm workspaces
- Next.js
- Tauri
- React
- React Native
- Node.js
- Express
- PostgreSQL
- Vitest
- Playwright
- Docker
Result
TODO: what can be said publicly about where CEMIS is in use.
Gallery
