尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Notice: MediCare is a patient health-records app. It is not insurance and is unrelated to any government Medicare scheme. It is decision support only, not a medical diagnosis. Every safety flag is worded "needs doctor review".
Live app: https://medi-care-blue-nine.vercel.app/
Watch the demo: https://drive.google.com/file/d/1q_W5ST0QnxtnHvtXkzMuRZFnRoNEkvf3/view?usp=sharing
The video is hosted on Google Drive. If it does not play in the browser, download the video from the link above and watch it locally.
Try it without setup (judges):
| Role | Password | |
|---|---|---|
| Patient | [email protected] | Password123! |
| Doctor | [email protected] | Password123! |
Sign in on the login page. The demo patient, Ramesh Sharma, has a prescription history, lab results, diagnoses, allergies, consultations, and follow-up appointments.
Patients with long-term conditions such as diabetes, hypertension, thyroid disorders, or asthma see several doctors, labs, and pharmacies over the years. Each keeps its own records, usually paper prescriptions, PDF reports, or photos sent over chat. When a patient changes doctors, moves city, or arrives at an emergency room, that history rarely goes with them. The result is repeated tests, overlapping medicines, and sensitive files forwarded insecurely.
MediCare turns scattered documents into one verified timeline for each patient:
| Layer | Technology |
|---|---|
| Web app | Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS |
| Database | Supabase Postgres with row-level security (RLS) |
| Authentication | Supabase Auth (email and password), cookie sessions |
| File storage | Supabase Storage, private bucket, short-lived signed links |
| AI extraction | Google Gemini (structured output, Zod-validated) |
| Tokens | Signed JWTs for share and emergency access, checked against the database |
| Hosting | Vercel |
Security design:
npm test
The unit tests cover the adherence parser and streaks, the clinical rules engine, the summary builder, and FHIR mapping. Database-dependent tests run only when Supabase environment variables are set.
Requirements: Node.js 22.18 or newer (the seed script runs TypeScript directly), and a Supabase project.
npm install
cp .env.example .env.local # then fill in the values
supabase/migrations/ in filename order (skip the two empty files).npm run seed:demo
npm run dev
Open http://localhost:3000.Environment variables are listed in .env.example. SESSION_SECRET is required. Generate it with openssl rand -base64 32.
We would rather state these openly than have a judge find them:
| Area | Status |
|---|---|
| Doctor view of a share code | The doctor receives a valid token, but the doctor's pages do not yet send it when reading records, so patient data is not displayed to doctors yet. To fix. |
| Vault upload metadata | Title, category, doctor, and notes are not saved for files uploaded through the vault form. To fix. |
| Emergency request | The doctor's request still includes the patient ID in the request body. Server-side checks apply, but this should come from the lookup result. To tighten. |
| Demo credentials | The demo passwords are in this repository. Change them before any real use. |
| Medical scope | Not validated by clinicians. Not a diagnostic tool. Not certified for regulatory compliance. |
| Hosting limits | Long document extractions may hit the platform's function timeout on the free Vercel tier. |
app/ Pages (App Router) and API routes (app/api)
components/ Shared UI components
lib/ Data access, auth, extraction, rules, summary, adherence, tokens
seed/ Demo records and the seed script (npm run seed:demo)
supabase/ SQL migrations
tests/ Unit and integration tests
docs/ Specification, architecture, and feature notes