Skip to content

Sync upstream changes from NitishChoubey/MedGen.AI#1

Draft
Copilot wants to merge 21 commits into
mainfrom
copilot/pull-new-changes
Draft

Sync upstream changes from NitishChoubey/MedGen.AI#1
Copilot wants to merge 21 commits into
mainfrom
copilot/pull-new-changes

Conversation

Copilot AI commented Apr 3, 2026

Copy link
Copy Markdown

Pulls 19 commits from the upstream NitishChoubey/MedGen.AI repo into this fork, bringing in role-based auth, full doctor/patient dashboards, and Render deployment infrastructure.

New Features

  • Role-based auth — signup flow extended to support DOCTOR and PATIENT roles
  • Doctor portal — dashboard, pending reviews queue, approved patients list, per-patient review page, profile, settings, sidebar nav
  • Patient portal — dashboard, analyses history, appointments, medical records, file upload, profile, settings
  • Results detail page — new /results/[id] route for in-depth analysis view

API Routes Added

  • POST /api/upload — file upload handling
  • GET /api/doctor/pending-reviews, /doctor/approved, /doctor/stats
  • PUT /api/doctor/review/[id] — doctor review submission
  • GET/PUT /api/patient/profile, GET /api/patient/analyses

Schema & Dependencies

  • Prisma schema extended with Doctor and Patient models
  • package.json updated with new deps
  • requirements.txt / requirements-render.txt refreshed for Python compatibility

Deployment

  • render.yaml added at root and service levels
  • runtime.txt pins Python version
  • Build scripts updated; lazy-loads ML imports to prevent startup timeouts
  • SQLite and network error fixes for Render environment
Original prompt

pull all new changes
https://github.com/NitishChoubey/MedGen.AI.git

Created from VS Code.

…anges

Co-authored-by: gopal5587 <205041269+gopal5587@users.noreply.github.com>
Copilot AI changed the title [WIP] Pull all new changes from repository Sync upstream changes from NitishChoubey/MedGen.AI Apr 3, 2026
Copilot AI requested a review from gopal5587 April 3, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants