Amamenta+: Architectural and Functional Evolution of an Offline-First Multi-Role Mobile Platform for Post-NICU Breastfeeding Support
Description
The transition of a newborn from the Neonatal Intensive Care Unit (NICU) to the domestic environment is a critical phase marked by high maternal anxiety and vulnerability to early weaning. This paper presents the architectural and functional evolution of Amamenta+, an offline-first mobile telemonitoring application designed to support breastfeeding routines and infant development monitoring post-discharge. While the original software prototype relied entirely on isolated local database persistence (SQLite via Drift), the current system has been completely reengineered into a hybrid synchronized model utilizing. Supabase cloud infrastructure (PostgreSQL + Auth). This evolution introduces a background SyncService for real-time replication, strict PostgreSQL Row Level Security (RLS) to enforce data privacy under LGPD regulations, and multi-role access profiles (Mothers, Doctors, and Administrators). Crucially, to address the high prevalence of multiple gestations (twins or triplets) among premature births, we implement a multi-baby relational schema that supports tracking multiple infants independently under a single maternal account. We also introduce a dynamic physician selection mechanism that links infant profiles directly to their responsible pediatrician's portal. Additionally, we detail the implementation of a fully editable clinical breastfeeding diary (CRUD), graphical statistical reporting, and optimized offline onboarding. Finally, we discuss how publishing this codebase under the permissive open-source MIT license on GitHub facilitates self-hosting and public health scaling within regional pediatric Dunits.
Files
763020.XVIISEB_Amamenta_revisao.pdf
Additional details
Dates
- Accepted
-
2026-09-18