My-Medi is a secure platform that allows you to store, manage, and share your medical records using blockchain technology. Our app ensures that your sensitive health information is safe and accessible only by authorized individuals.
- Upload and store medical records securely
- View your records anytime, anywhere
- Share access with healthcare providers
- Revoke access when needed
- Frontend: React
- Styling: Tailwind CSS
- Blockchain Integration: Thirdweb
- File Storage: Pinata
- Blockchain Platform: Ethereum
- Smart Contracts: Solidity
To get started, you need a wallet to store your digital assets. We recommend using MetaMask, a popular crypto wallet that works with most browsers.
Click on the "Connect Wallet" button in the header to sign in using your wallet. This will give you access to your dashboard.
Once connected, you can:
- Upload Medical Records: Navigate to the upload section, select your files, and upload them securely to the blockchain.
- View Medical Records: Access the records section to view and download your medical records.
- Share Access: Share your records with healthcare providers or family members by entering their Ethereum addresses.
- Revoke Access: Manage and revoke access to your records anytime from the dashboard.
To set up the frontend, follow these steps:
-
Clone the repository:
git clone https://github.com/Saksham-Gupta-30/My-Medi_MajorProject.git
-
Navigate to the frontend directory:
cd My-Medi_MajorProject/client
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
The frontend should now be running on http://localhost:5173
.
To set up the blockchain, follow these steps:
-
Clone the repository:
git clone https://github.com/Saksham-Gupta-30/My-Medi_MajorProject.git
-
Navigate to the blockchain directory:
cd My-Medi_MajorProject/web3
-
Install the dependencies:
npm install
-
Compile and deploy the smart contracts:
npm run deploy
Ensure you have configured your network settings and environment variables as required.
- GitHub: Saksham-Gupta-30