normogen/thoughts/research
goose 4dca44dbbe Research: MongoDB schema design complete
- Zero-knowledge encryption for ALL sensitive data + metadata
- Blood pressure example: value + type + unit ALL encrypted
- 9 collections: users, families, profiles, health_data, lab_results, medications, appointments, shares, refresh_tokens
- Client-side encryption (AES-256-GCM, PBKDF2)
- Server NEVER decrypts data
- Privacy-preserving queries (plaintext fields: userId, profileId, familyId, date, tags)
- Tagging system for encrypted data search
- Date range queries (plaintext dates)

Key principle:
- Both value AND metadata encrypted (e.g., "blood_pressure" + "120/80")
- No plaintext metadata leaks
- Server stores ONLY encrypted data

Updated tech stack decisions with MongoDB schema

All major research complete (Rust, Mobile, Web, State, Auth, Database)

Next: Backend development (Axum + MongoDB)
2026-02-14 13:39:57 -03:00
..
2026-01-04-1739-normogen-codebase-documentation.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-01-04-1840-normogen-mvp-definition.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-01-05-health-frameworks-research-plan.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-01-05-mobile-health-frameworks-data.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-01-05-RESEARCH-SUMMARY.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-01-12-android-health-connect-data-types-research.md Initial commit: Project setup and documentation 2026-02-14 11:11:06 -03:00
2026-02-14-frontend-decision-summary.md Research: React Native + React selected for mobile and web 2026-02-14 11:39:08 -03:00
2026-02-14-frontend-mobile-research.md Research: React Native + React selected for mobile and web 2026-02-14 11:39:08 -03:00
2026-02-14-jwt-authentication-decision.md Research: JWT authentication selected 2026-02-14 12:44:33 -03:00
2026-02-14-jwt-authentication-research.md Research: JWT authentication selected 2026-02-14 12:44:33 -03:00
2026-02-14-mongodb-schema-decision.md Research: MongoDB schema design complete 2026-02-14 13:39:57 -03:00
2026-02-14-mongodb-schema-design-research.md Research: MongoDB schema design complete 2026-02-14 13:39:57 -03:00
2026-02-14-performance-findings.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-performance-research-notes.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-research-complete-summary.md Research: Phase 1 complete - Technology stack defined 2026-02-14 11:39:59 -03:00
2026-02-14-research-summary.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-rust-framework-comparison.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-rust-framework-performance-research.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-rust-framework-research-notes.md Research: Axum selected as Rust web framework 2026-02-14 11:29:14 -03:00
2026-02-14-state-management-decision.md Research: Redux Toolkit 2.x selected for state management 2026-02-14 12:32:32 -03:00
2026-02-14-state-management-research.md Research: Redux Toolkit 2.x selected for state management 2026-02-14 12:32:32 -03:00
2026-02-14-tech-stack-decision.md Research: MongoDB schema design complete 2026-02-14 13:39:57 -03:00
PHASE-1-RESEARCH-COMPLETE.md Research: Phase 1 complete - Executive summary 2026-02-14 11:40:22 -03:00