{"id":48764300,"url":"https://github.com/abx15/medilink","last_synced_at":"2026-04-13T07:46:22.115Z","repository":{"id":331334202,"uuid":"1126224428","full_name":"abx15/medilink","owner":"abx15","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-06T04:04:42.000Z","size":970,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-06T11:57:25.104Z","etag":null,"topics":["cloudinary-integration","css","express","mongodb","mongoose","nodejs","qrcode-generator","react","react-router","tailwindcss","twilio","vite"],"latest_commit_sha":null,"homepage":"https://medilink-sooty.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abx15.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T12:33:26.000Z","updated_at":"2026-01-06T04:04:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/abx15/medilink","commit_stats":null,"previous_names":["abx15/medilink"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/abx15/medilink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Fmedilink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Fmedilink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Fmedilink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Fmedilink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abx15","download_url":"https://codeload.github.com/abx15/medilink/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Fmedilink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31744404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudinary-integration","css","express","mongodb","mongoose","nodejs","qrcode-generator","react","react-router","tailwindcss","twilio","vite"],"created_at":"2026-04-13T07:46:18.511Z","updated_at":"2026-04-13T07:46:21.997Z","avatar_url":"https://github.com/abx15.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MedLink - Digital Health Records \u0026 Emergency QR Access System\n\nA production-ready MERN application for managing digital health records with emergency QR code access.\n\n## 📁 Project Structure\n\n```\nmedilink/\n├── client/          # React Frontend\n│   ├── public/\n│   ├── src/\n│   │   ├── components/\n│   │   ├── pages/\n│   │   ├── services/\n│   │   ├── utils/\n│   │   ├── App.js\n│   │   └── index.js\n│   ├── .env\n│   └── package.json\n│\n└── server/          # Node.js + Express Backend\n    ├── config/\n    ├── controllers/\n    ├── middleware/\n    ├── models/\n    ├── routes/\n    ├── services/\n    ├── utils/\n    ├── .env\n    ├── server.js\n    └── package.json\n```\n\n## 🚀 Tech Stack\n\n- **Frontend**: React, Tailwind CSS, React Router, Axios\n- **Backend**: Node.js, Express.js\n- **Database**: MongoDB (Atlas-ready)\n- **Authentication**: JWT\n- **OTP \u0026 Notifications**: Twilio (SMS + WhatsApp), Nodemailer (Email)\n- **File Uploads**: Cloudinary\n- **QR Codes**: Token-based secure QR generation\n\n## ✨ Features\n\n### Three-Role Authentication System\n\n- **Users (Patients)**: OTP-verified registration, self-reporting, health card generation\n- **Doctors**: Credential submission, admin approval required, medical record verification\n- **Admins**: Doctor approval workflow, system oversight, audit logs\n\n### Core Functionality\n\n- ✅ Dual OTP verification (SMS + Email)\n- ✅ Digital Health Card generation (Aadhaar/Ayushman style)\n- ✅ QR-based emergency access (real-time data)\n- ✅ Medical record management with versioning\n- ✅ Doctor verification workflow\n- ✅ Comprehensive notification system\n- ✅ Audit logging for all critical actions\n\n## 🛠️ Setup Instructions\n\n### Prerequisites\n\n- Node.js (v16+)\n- MongoDB (local or Atlas)\n- Git\n\n### Backend Setup\n\n1. Navigate to server directory:\n\n```bash\ncd server\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create `.env` file (copy from `.env.example`):\n\n```bash\ncp .env.example .env\n```\n\n4. Configure environment variables in `.env`:\n\n   - MongoDB connection string\n   - JWT secret\n   - Twilio credentials (for SMS/WhatsApp)\n   - SMTP credentials (for email)\n   - Cloudinary credentials (for file uploads)\n\n5. Start the server:\n\n```bash\n# Development mode\nnpm run dev\n\n# Production mode\nnpm start\n```\n\nServer will run on `http://localhost:5000`\n\n### Frontend Setup\n\n1. Navigate to client directory:\n\n```bash\ncd client\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create `.env` file:\n\n```bash\ncp .env.example .env\n```\n\n4. Start the development server:\n\n```bash\nnpm start\n```\n\nFrontend will run on `http://localhost:3000`\n\n## 🔐 Environment Variables\n\n### Backend (.env)\n\n```env\nNODE_ENV=development\nPORT=5000\nMONGODB_URI=your-mongodb-connection-string\nJWT_SECRET=your-jwt-secret\nJWT_EXPIRE=7d\nTWILIO_ACCOUNT_SID=your-twilio-sid\nTWILIO_AUTH_TOKEN=your-twilio-token\nTWILIO_PHONE_NUMBER=your-twilio-phone\nTWILIO_WHATSAPP_NUMBER=your-twilio-whatsapp\nSMTP_HOST=smtp.gmail.com\nSMTP_PORT=587\nSMTP_USER=your-email@gmail.com\nSMTP_PASSWORD=your-app-password\nCLOUDINARY_CLOUD_NAME=your-cloud-name\nCLOUDINARY_API_KEY=your-api-key\nCLOUDINARY_API_SECRET=your-api-secret\nFRONTEND_URL=http://localhost:3000\nQR_ENCRYPTION_KEY=your-encryption-key\n```\n\n### Frontend (.env)\n\n```env\nREACT_APP_API_URL=http://localhost:5000\n```\n\n## 📡 Documentation\n\n- [Full API Documentation](API_DOCUMENTATION.md)\n- [Frontend Component Guide](client/README.md)\n\n## ✅ Project Status (Production Ready)\n\n- ✅ Phase 1-6: Backend Core (Auth, Records, QR, Health Card)\n- ✅ Phase 7: Notifications \u0026 Audit System\n- ✅ Phase 8-10: Frontend Implementation\n- ✅ Phase 11: Testing \u0026 Verification\n- ✅ Phase 12: Polish \u0026 Documentation\n\n## 🎯 Hackathon Highlights\n\n- ✅ **Digital Identity**: Secure, tamper-proof health IDs.\n- ✅ **Emergency Access**: 10ms response time for life-critical data via QR.\n- ✅ **Universal Login**: Multi-role adaptive authentication.\n- ✅ **Modern UX**: Glassmorphic UI with smooth animations.\n- ✅ **Compliance**: Role-based access control and medical board approval workflow.\n- ✅ **Audit Ready**: Full transparency on data access and modifications.\n\n## 📝 License\n\nISC\n\n## 👥 Contributors\n\nMedLink Development Team:\n\n- **Arun Kumar Bind** – 💡 Idea, 🖥️ Developer, MERN stack, system architecture  \n- **Amit Kumar Bind** – 📊 Research \u0026 Marketing, user flow analysis, hackathon strategy  \n- **Rajan Yadav** – 🎨 Design \u0026 Graphics, UI/UX, video editing, branding\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabx15%2Fmedilink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabx15%2Fmedilink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabx15%2Fmedilink/lists"}