{"id":22158066,"url":"https://github.com/txusif/medichain","last_synced_at":"2025-04-23T21:11:00.180Z","repository":{"id":189561279,"uuid":"677093643","full_name":"txusif/MediChain","owner":"txusif","description":"A blockchain-based platform for secure medical record storage and charitable healthcare campaigns. Users can store health documents securely and donate to support patients in need.","archived":false,"fork":false,"pushed_at":"2024-12-26T15:22:50.000Z","size":3566,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T03:32:18.191Z","etag":null,"topics":["ethereum","ethersjs","ipfs","metamask","polygon","polygon-matic","react","smart-contract","solidity","tailwindcss","thirdweb"],"latest_commit_sha":null,"homepage":"https://medichain.txusif.me","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/txusif.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}},"created_at":"2023-08-10T18:09:34.000Z","updated_at":"2025-02-26T14:59:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"fef4f557-0ebc-42de-80d1-27c0927049fa","html_url":"https://github.com/txusif/MediChain","commit_stats":null,"previous_names":["txusif/mediapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusif%2FMediChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusif%2FMediChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusif%2FMediChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txusif%2FMediChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txusif","download_url":"https://codeload.github.com/txusif/MediChain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514789,"owners_count":21443209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ethereum","ethersjs","ipfs","metamask","polygon","polygon-matic","react","smart-contract","solidity","tailwindcss","thirdweb"],"created_at":"2024-12-02T03:17:29.100Z","updated_at":"2025-04-23T21:10:59.981Z","avatar_url":"https://github.com/txusif.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediChain Dapp\n\nMediChain is a decentralized app leveraging blockchain for secure medical data storage and sharing, featuring Metamask integration, distinct user roles, medical crowdfunding campaigns, and intuitive interface, deployed on Polygon Mumbai.\n\n[Explore Medichain🚀](https://medichain-app.vercel.app/)\n\n![Home Page](results/welcomPage.png)\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n- [Tech Stack](#tech-stack)\n- [Contract Deployment](#contract-deployment)\n- [Usage](#usage)\n- [User Roles](#user-roles)\n- [Screenshots](#screenshots)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nMediChain is built on blockchain technology, ensuring the privacy and security of medical records, enabling users to:\n\n- Connect their Metamask wallet for secure access.\n- Register as a patient, doctor, or lab.\n- Upload medical test reports to the patient's wallet.\n- View and search medical reports.\n- Create and donate to medical crowdfunding campaigns.\n- And much more.\n\n## Features\n\n- **Secure Authentication:** Users can securely connect their Metamask wallet for identity.\n- **User Roles:** Patients, doctors, and labs have distinct roles with specific permissions.\n- **Medical Record Storage:** Securely store medical records on the blockchain.\n- **Campaigns:** Create, browse, and donate to medical crowdfunding campaigns.\n- **Intuitive Interface:** User-friendly interface for a seamless experience.\n\n## Getting Started\n\n### Prerequisites\n\nBefore getting started, you'll need to have the following installed:\n\n- Node.js\n- Foundry (for smart contract development)\n- Metamask extension for your browser\n\n### Installation\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/txusif/MediChain\n   ```\n\n2. Navigate to the project directory:\n\n   ```\n   cd MediChain/client\n   ```\n\n3. Install dependencies:\n\n   ```\n   npm install\n   ```\n\n4. Run the Dapp:\n   ```\n   npm run dev\n   ```\n\n## Tech Stack\n\nThis project is built using the following technologies and libraries:\n\n- **[Vite](https://vitejs.dev/):** A fast development build tool.\n- **[React](https://reactjs.org/):** A JavaScript library for building user interfaces.\n- **[React Router](https://reactrouter.com/):** A routing library for React applications.\n- **[Tailwind CSS](https://tailwindcss.com/):** A utility-first CSS framework.\n- **[Axios](https://axios-http.com/):** A promise-based HTTP client for making network requests.\n- **[Ethers](https://docs.ethers.io/v5/):** A JavaScript library for interacting with the Ethereum blockchain.\n- **[Dotenv](https://github.com/motdotla/dotenv):** A zero-dependency module that loads environment variables from a `.env` file.\n- **[React Copy to Clipboard](https://github.com/nkbt/react-copy-to-clipboard):** A React component that copies text to the clipboard.\n- **[React Hot Toast](https://carloscuesta.me/react-hot-toast/):** A notifications library for React.\n- **[Thirdweb](https://thirdweb.io/):** A development framework for building decentralized applications on the Thirdweb blockchain.\n- **[Font Awesome](https://fontawesome.com/):** A library of icons.\n\n### Development Dependencies\n\n- **[Vite Plugin React](https://github.com/vitejs/vite-plugin-react):** A Vite plugin for React.\n- **[Autoprefixer](https://github.com/postcss/autoprefixer):** A PostCSS plugin to parse CSS and add vendor prefixes.\n- **[PostCSS](https://postcss.org/):** A CSS post-processor.\n- **[Vite Plugin Node Polyfills](https://github.com/alloc/vite-plugin-polyfill):** A Vite plugin to add Node.js polyfills for the browser.\n\nPlease refer to the `package.json` file for version information on these dependencies.\n\n## Contract Deployment\n\nThe contract for the Medichain app is deployed on the `Polygon Mumbai` network.\n\n## Usage\n\n- Visit the Dapp homepage.\n- Connect your Metamask wallet.\n- Register as a patient, doctor, or lab.\n- Use the respective features based on your role.\n\n## User Roles\n\n- **Patient:** View medical reports, create campaigns and fund campaigns.\n- **Doctor:** Search and view patient medical reports and fund campaigns.\n- **Lab:** Upload medical reports to patient wallets and fund campaigns.\n\n## Screenshots\n\n### Home Page\n\n![Home Page](results/welcomPage.png)\n\n### Features Section\n\n![Features Section](results/featureSection.png)\n\n### Footer\n\n![Features Section](results/footer.png)\n\n### Connect Wallet\n\n![Connect Wallet](results/connectWallet.png)\n\n### Choose Account\n\n![Choose Account](results/selectAccount.png)\n\n### Doctor Registration\n\n![Register as Doctor](results/doctorRegister.png)\n\n### Lab Registration\n\n![Register as Lab](results/labRegister.png)\n\n### Upload Reports Page\n\n![Uplaod Reports Page](results/uploadReport.png)\n\n### View Reports Page\n\n![View Reports Page](results/reports.png)\n\n### Search Reports Page\n\n![Search Reports Page](results/searchReports.png)\n\n### Create Campaign Page\n\n![Create Campaign Page](results/createCampaign.png)\n\n### View Campaigns Page\n\n![View Campaigns Page](results/campaigns.png)\n\n### Campaign Details Page\n\n![Campaign Details Page](results/campaignDetails.png)\n\n### Fund a Campaign\n\n![Fund a Campaign](results/fundCampaign.png)\n\n### Profile Page\n\n![Profile Page](results/profilePage.png)\n\n###\n\n## Contributing\n\nIf you'd like to contribute to this project, follow these simple steps:\n\n1. Fork the repository by clicking the \"Fork\" button.\n2. Create a new branch for your changes: `git checkout -b feature/your-feature-name`\n3. Make your desired changes and commit them: `git commit -m 'Add your feature'`\n4. Push your changes to the new branch on your fork: `git push origin feature/your-feature-name`\n5. Open a pull request (PR) on the original repository's GitHub pagVe.\n\nI welcome contributions and appreciate your help in making this project better!\n\n## License\n\nThis project is licensed under the [MIT License](client/LICENSE.md).\nThis project is licensed under the [MIT License](client/LICENSE).\n\n---\n\nFor any questions or support, please contact txusif@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxusif%2Fmedichain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxusif%2Fmedichain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxusif%2Fmedichain/lists"}