Skip to content
M

MediTrust AI

Zero fake medicines. Verified by AI.

Created on 14th June 2026

•

M

MediTrust AI

Zero fake medicines. Verified by AI.

The problem MediTrust AI solves

MediTrust AI makes buying medicine safer and simpler for everyone involved.

For patients, the biggest worry is whether their medicine is real. Our platform removes that guesswork. Before you buy, AI scans your prescription to confirm it's genuine and not AI-generated or forged. During purchase, you see pharmacies ranked by trust score, not just price, so you don't accidentally buy from a risky seller. After delivery, you scan the medicine packaging and our AI checks if it's authentic before you ever open it. If you need a doctor, you can consult one through voice chat in your own language. And if you're recovering from injury, AI rehab tracks your exercise form and corrects you in real time.

For pharmacies, the platform cuts down manual work. Prescriptions are verified automatically, reducing liability from fraudulent sales. Their trust score is built from actual operational data, not fake reviews, so good pharmacies naturally rise to the top. Offline shops can join the verified network, show live stock online, and accept click-and-collect orders with QR code verification at pickup.

For the healthcare system, the impact is structural. Counterfeit medicines that currently slip through at every stage get intercepted before they reach the patient. The 20 to 30 percent fake medicine penetration in India becomes traceable, blockable, and ultimately eliminable. Every verified transaction strengthens the network. Every detected fake triggers investigation. Over time, the system becomes self-reinforcing, driving counterfeit penetration toward zero.

Challenges we ran into

The biggest hurdle we ran into was connecting the frontend to the backend and getting the API layer to work reliably. We built the UI first and it looked great, but when we tried to send prescription images from the React frontend to the FastAPI backend, everything broke. We hit CORS errors constantly because the frontend ran on localhost 3000 and the backend on localhost 8000, and the browser blocked every request. On top of that, the async PostgreSQL connection kept dropping when we tried to save large prescription files, and the multipart file upload for handwritten prescriptions would either timeout or return garbled responses. It was frustrating because the UI was ready but the data simply would not flow.

We got past this by using Google's AI Studio and Firebase Studio to scaffold the backend properly. Instead of writing the FastAPI boilerplate and database connection code manually, we fed the full API contract into Google AI Studio and had it generate the complete async SQLAlchemy setup, the CORS middleware configuration, and the multipart upload handlers. Firebase Studio helped us spin up a working Docker Compose setup with PostgreSQL and Redis in minutes, which eliminated the connection drop issues. The AI also caught that we were missing proper lifespan events in FastAPI for database startup, which was why our async sessions were failing. Once the AI-generated backend skeleton was in place, we only had to tweak the endpoints rather than build them from scratch. That saved us hours and let us focus on the prescription verification logic instead of fighting connection errors.

Tracks Applied (4)

Gemini

We used Gemini at its best by making it do things no basic AI tool can handle. First, prescription fraud detection. Mos...Read More
Major League Hacking

Major League Hacking

ElevenLabs

We used ElevenLabs at its best by building a live AI call assistant trained under full medical guidance. Instead of mak...Read More
Major League Hacking

Major League Hacking

Sarvam.ai

We used Sarvam AI at its best by solving a problem that breaks every other OCR tool on the market. Indian doctors do not...Read More
Sarvam.ai

Sarvam.ai

Sustainable Development

Our project fits the sustainable development theme because it protects people's health and makes healthcare systems stro...Read More

HackPrix

Discussion

Builders also viewed

See more projects on Devfolio