The challenge
Organize personal records with access control.
The solution
Manual logging, charts, data export and deletion.
Architecture
PWA and Node.js API with PostgreSQL and per-user data isolation.
- PWA interface
- Express API
- PostgreSQL
Main features
- Manual recording of measurements and personal observations, with progress charts.
- JSON import and export, record deletion and account deletion.
- Responsive, installable interface with a separate administration panel.
Technical decisions and limitations
- Record access is limited to the authenticated user. The administration panel does not display health records.
- Isolation is logical; individual database columns are not encrypted.
- The system records user-provided information without diagnosis or clinical recommendations.
Availability
- Source code
- Private
- Demo
- Exists, public listing not cleared
- Case study
- Available
- Status
- Published
Context and problem
People who log weight, measurements and symptoms need a tool that treats sensitive data with care. MounTrack is a personal log, with no analysis or recommendations.
How it works
- Sign-up with consent
- User entries
- Chart and report
- JSON export
- Delete data or account
Business rules
- Only data typed by the user goes in. The system does not calculate or suggest doses.
- Health-data consent is separate from accepting the Terms, with date and version recorded on the server. Adults only (18+).
- The admin panel shows registration and status, with no route to health records.
Technical challenges and solutions
- Challenge: Limiting the administrator's access to health data. Solution: A separate panel with no routes to health records.
- Challenge: Working as a PWA without frameworks. Solution: Plain HTML, CSS and JavaScript with a service worker that caches the interface.
- Challenge: Being clear about what the protection covers. Solution: The README states that isolation is logical and that there is no column-level encryption at rest.
Security and privacy
- bcrypt passwords (cost 12) and HttpOnly cookie sessions.
- Parameterized queries and per-IP attempt limits on authentication.
- No analytics and no cookies beyond the session cookie.
Tests and evidence
- Backend tests with node --test: forced password change, account revocation, data versioning, database configuration, privacy consent and same-origin checks. There are also tests for the authentication cache and decimal input. Existence confirmed from the repository file listing; the tests were not run in this audit.
Lessons learned
- Privacy starts with what the system chooses not to expose, including to the administrator.
- Documenting what the security does not cover is part of the work.
Current status
Portfolio project. Hosting as documented in the repository: frontend on Firebase Hosting, API on Vercel and PostgreSQL on Neon. Login and sync need a connection. It does not replace medical care.
Documented evidence
Documentation describes integration tests using disposable PostgreSQL, consent, session revocation and concurrency. These were not run during this review.