PulseCare
Full Stack Developer · In Progress
Overview
Patient and doctor care platform: patients book real free slots, share records privately with their doctor, message their care team in real time, and get plain-language AI summaries of their documents. The AI explains and never diagnoses. A React + Vite client talks to an Express API on PostgreSQL, with Socket.IO for chat and reminders and a separate FastAPI service running a local Ollama vision model for document summaries and natural-language doctor search.
Key Highlights
- ▹Race-proof booking: a PostgreSQL exclusion constraint makes double-booking impossible, even under concurrent requests
- ▹Private documents shared per appointment through short-lived signed links, with every access audited
- ▹Rotating, hashed, revocable refresh tokens in HttpOnly cookies — replaying an old token revokes the whole session
- ▹100 automated tests across the API, AI service and client (including 26 live API tests against a throwaway Postgres), run in GitHub Actions on every push
Tech Stack
Architecture
React + Vite client (access token held in memory) → Express API (auth, appointments, documents, chat, admin) → PostgreSQL (users, appointments, documents, refresh tokens, audit log). Documents are stored as Cloudinary authenticated assets and only ever reached through short-lived signed URLs. The API calls a FastAPI ai-service with a service token; that service fetches allow-listed signed URLs and runs a local Ollama vision model. Socket.IO carries chat and reminders.
Future Improvements
Email/SMS reminders, a doctor-facing UI for weekly availability and time zone, an audit-log viewer in the admin dashboard, calendar sync, digital prescriptions and PWA support. The repository states it is not certified for production handling of regulated health data — a HIPAA/GDPR review, a storage-provider BAA and a penetration test are needed before real use.