Architecting NuroVed: Zero-Fragmentation Medical Systems with FastAPI & Flutter
A technical walkthrough of our asynchronous Python backend, cross-platform mobile frontend, and zero-trust record storage model.
✦ Microservice sequence diagram showing async health data ingest and client reconciliation.
When designing the backend architecture for NuroVed, the primary engineering constraint was clear: data integrity cannot be compromised, even under erratic network conditions typical of hospital basements or rural clinic visits.
We selected Python with FastAPI for the core API services. FastAPI's native support for asynchronous requests via Starlette and Pydantic validation allows us to handle high-concurrency ingestion of health metrics and document uploads while maintaining strict runtime type validation.
For the frontend, we chose Flutter. Rather than maintaining separate native Swift and Kotlin codebases, Flutter gave us a single unified rendering pipeline across iOS, Android, and web. Its declarative reactive state tree allowed us to build custom medical record timelines, graph visualizers, and interactive prescription sheets with 60fps responsiveness on both high-end and entry-level Android smartphones.
Security is layered from the database up. Patient health records are encrypted at rest with AES-256 and transmitted strictly over TLS 1.3. Role-based access control (RBAC) ensures that a consulting doctor only receives temporary, revocable access to the specific medical records authorized by the patient.
Building a system of this nature requires treating every edge case as an inevitable reality: dropped websockets, partial uploads, conflicting concurrent edits, and strict offline synchronization.
Data integrity cannot be compromised, even under erratic network conditions typical of hospital basements or rural clinics.— Fazil Malek
What I Learned
Direct takeaways and practical principles recorded from this experience:
- 1
Async Python + Pydantic provides rigorous runtime safety
Enforcing strict schema contracts at the API boundary prevents malformed health payload ingestion before it ever reaches the database.
- 2
Flutter eliminates cross-platform state divergence
A single reactive codebase ensures patients on iOS and doctors on Android see the exact same layout and data synchronization behavior.
- 3
Least-privilege access must be user-controlled
Patients should possess cryptographic agency over who can read their consultation logs and for what duration.

Fazil Malek
Founder @ Promacle • B.E. Computer Engineering @ GTU
Indian entrepreneur and Computer Engineering student at Sal College Of Engineering backed by Gujarat Technological University (GTU). Founder of Promacle, builder of NuroVed, and footballer based in Ahmedabad.
Related Notebook Stories
Why I Started NuroVed: Fixing the Small Fractures in Everyday Healthcare
The origin story of NuroVed and why Promacle chose healthcare infrastructure over easy consumer apps. A look at medical record fragmentation from Ahmedabad, Gujarat.
Building While Being a Student: Managing Code, Classes, and Founder Mode
Reflections on pursuing a Bachelor of Engineering at Gujarat Technological University while running Promacle. Lessons on practical execution vs theoretical syllabi.