Skip to content

Lishhhh07/medisync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

MediSync (Techno Exhibition)

MediSync is a medicine lifecycle platform that connects retailers, hospitals, NGOs, and waste handlers to reduce medicine waste through inventory tracking, redistribution, and smart recommendations.

Project Structure

  • Frontend/: React + Vite web app
  • Backend/: Express + MongoDB API
  • Backend/src/ml/: Python ML utilities for expiry and redistribution workflows

Quick Start

1) Backend

cd Backend
npm install

Create Backend/.env:

MONGO_URI=mongodb://127.0.0.1:27017/medisync
JWT_SECRET=change-this-to-a-strong-secret
PORT=5000

Run backend:

npm run dev

2) Frontend

cd Frontend
npm install

Create Frontend/.env:

VITE_API_BASE_URL=http://localhost:5000
VITE_API_TIMEOUT_MS=12000

Run frontend:

npm run dev

Open http://localhost:5173.

Optional: ML Setup

Install Python dependencies (inside Backend/):

pip install -r src/ml/requirements.txt

Train ML models from historical data:

npm run train:ml

Useful Backend Scripts

  • npm run dev: start backend with nodemon
  • npm run start: start backend normally
  • npm run train:ml: run ML training pipeline

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors