MediTrack: Smart Medicine Tracking and Pharmacy Locator System
Author
Bhuvaneswaran K G, Baranidaran K, Arun Raja J, Hariprasaath S, Ms. Dharaniya N G
Abstract
Unsafe medicine use is often caused by forgotten doses, unfinished courses, and the use of expired packages, while finding an available medicine requires visits or calls to several pharmacies. This paper presents MediTrack, a full-stack web application that brings medicine search, barcode and QR code identification, a personal medicine cabinet with automatic expiry classification, dose reminders, a stock-aware pharmacy map, and verified order handling into one system. The application serves three roles, namely patient, pharmacy owner, and administrator, and controls access using JSON Web Tokens, salted password hashing, and role-based authorization on both server and client. It is implemented with React, Node.js, Express, and MongoDB, and a dual storage layer switches to a persistent file store when the database is unreachable. A functional test of twenty API scenarios covering authentication, search, scanning, personal data, authorization, ordering, and administration produced the expected response in every case. The work shows that a small open-source stack can deliver an integrated and easily deployable medication management system.
Keywords
Medicine Tracking, Expiry Monitoring, Pharmacy Locator, Role-Based Access Control, JSON Web Token, MERN Stack
Full Text:
References
Express.js. (n.d.). Express: Fast, unopinionated, minimalist web framework for Node.js. https://expressjs.com/
Fielding, R. T. (2000). Architectural styles and the design of network-based software architectures [Doctoral dissertation, University of California, Irvine].
html5-qrcode. (n.d.). Cross platform QR code and barcode scanning library. https://github.com/mebjas/html5-qrcode
Jones, M., Bradley, J., & Sakimura, N. (2015). JSON Web Token (JWT) (RFC 7519). Internet Engineering Task Force. https://doi.org/10.17487/RFC7519
Leaflet. (n.d.). Leaflet: An open-source JavaScript library for interactive maps. https://leafletjs.com/
MongoDB. (n.d.). MongoDB manual. https://www.mongodb.com/docs/
Mongoose. (n.d.). Mongoose: Elegant MongoDB object modeling for Node.js. https://mongoosejs.com/
Provos, N., & Mazières, D. (1999). A future-adaptable password scheme. In Proceedings of the USENIX Annual Technical Conference.
React. (n.d.). React: The library for web and native user interfaces. https://react.dev/
Sommerville, I. (2016). Software engineering (10th ed.). Pearson.