Skip to content

A modern hospital drug inventory system with role-based login, FEFO stock control, real-time IoT temperature simulation, expiry & low-stock alerts, barcode search, and AI-style demand forecasting. Fully front-end (HTML/CSS/JS) and runs instantly using localStorage.

Notifications You must be signed in to change notification settings

mondalrupam535/Smart-Drug-Tracking-Web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart-Drug-Tracking-Web-app

A modern, glass-UI hospital drug inventory system with role-based access, IoT temperature simulation, FEFO-based expiry tracking, real-time alerts, and AI-style demand forecasting. Fully front-end (HTML/CSS/JS) and runs instantly in any browser using localStorage.

🚀 Features

🔐 Role-Based Login (Admin, Pharmacist, Department User)

🏥 Department Filtering (Cardiology, Pharmacy, General Medicine)

📦 Drug Inventory Management (CRUD + barcode search)

⚠️ Smart Alerts

Low stock

Expiring soon (FEFO)

Temperature out-of-range

🌡 IoT Simulation

Drug temperature changes every 5 seconds

📊 AI Demand Forecasting

Chart.js based prediction

💾 localStorage Database (no backend required)

🎨 Modern Glassmorphism UI

📁 Project Structure /index.html - Login / Signup page
/dashboard.html - Main application dashboard
/style.css - Modern glassmorphism design
/script.js - All app logic (login, CRUD, IoT, alerts, charts)
/departments.js - Sample data (users, drugs, departments)

🧪 Demo Credentials Role Email Password Admin admin@hospital.local admin123 Pharmacist pharma@hospital.local pharma123 Dept User cardio@hospital.local cardio123 ▶️ How to Run

Download or clone the repository

Open index.html in any browser (Chrome recommended)

Log in using demo credentials

App runs entirely offline — no backend needed

About

A modern hospital drug inventory system with role-based login, FEFO stock control, real-time IoT temperature simulation, expiry & low-stock alerts, barcode search, and AI-style demand forecasting. Fully front-end (HTML/CSS/JS) and runs instantly using localStorage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published