
Full-stack medical platform developed for physiotherapists, featuring a microservices architecture (5 services), a Next.js admin dashboard and a React mobile application. The system integrates intelligent questionnaires with JSONLogic rules engine, medical flags system (red flags), and a personalized exercise recommendation algorithm based on the V/O/R protocol (Green/Orange/Red).
Microservices architecture with API Gateway
Complete admin dashboard (Next.js 16)
Mobile patient application (React + Vite)
Intelligent questionnaires with JSONLogic
Medical flags system (red/yellow flags)
V/O/R algorithm for exercise progression
GDPR compliance (encryption, soft delete, audit)
Questionnaire versioning system
Develop a complete medical platform requiring a scalable architecture with 5 distinct microservices (Gateway, Core, Questionnaire, Rehab, Eval), while ensuring GDPR compliance with patient data encryption. The system needed to integrate a JSONLogic rules engine for dynamic questionnaires triggering medical flags, as well as an exercise progression algorithm based on patient feedback (V/O/R). Everything had to be maintainable long-term with ~190,000 lines of TypeScript.
Design 5 decoupled services with API Gateway, JWT authentication and intelligent routing
Implement patient data encryption, soft delete, audit logs and consent management
Develop a dynamic questionnaire system with conditional rules and flag calculation
Create a complete admin dashboard and an intuitive mobile patient application
Microservices architecture with Fastify and Drizzle ORM for a performant and type-safe API. Next.js 16 dashboard with Base UI for a modern admin interface. React mobile application with Vite for optimal patient experience. JSONLogic engine for questionnaire rules with real-time flag calculation. V/O/R system to automatically adapt exercise difficulty based on patient tolerance. PostgreSQL encryption (pgp_sym_encrypt) and soft delete for GDPR compliance.
JWT Auth + Routing
Patients, Users
Questionnaires, Rules
Exercises, Sessions
Evaluations, Results
190k
Lines of code
TypeScript
5
API Services
Microservices architecture
227
Components
Dashboard + Mobile
188
E2E Tests
Full coverage
GDPR
Compliance
Encryption + Audit
1
Developer
Solo project

Administration interface for managing patients and questionnaires
Managing 5 distinct services requires rigorous discipline on API contracts and shared dependency management
Drizzle offers an excellent balance between type-safety and flexibility, with simple migrations to manage
Base UI offers more flexibility than shadcn/Radix with the render pattern, but requires more initial configuration
JSONLogic allows storing complex rules in database, making the system extensible without deployment

Fullstack banking application with secure authentication and user profile management.

Apartment rental platform with modern and responsive interface developed in React.

React Native mobile application for recipe search with optimized filtering algorithms.