"I don't always test my code, but when I do, I do it in production." — (Just kidding, please test locally first!)
MediMart is a comprehensive digital platform designed to handle the day-to-day operations of a modern pharmacy. It connects customers with pharmacists through a digital platform, streamlining the process of finding, purchasing, and managing medications.
Semester 5th Mini Project --- MediMart is a modern, responsive web application for an online pharmacy.
- Prescription Upload: Users can upload prescription images (stored in
prescription_datasetand processed via OCR). - Inventory Management: Tracks medicine stock, prices, and availability in real-time.
- Billing System: Automated invoicing and order history.
- Admin Dashboard: Full control for pharmacists to manage products and view orders.
- Medicine Search: Search for specific medicines from a comprehensive database.
- User Authentication: Secure sign-up and login for personalized health management.
In today's fast-paced world, access to essential healthcare should be seamless. MediMart addresses several key needs:
- Efficiency: Reduces the time spent visiting physical pharmacies.
- Accessibility: Enables users to upload prescriptions and manage their health from anywhere.
- Searchability: Provides a vast database of medicines with easy search capabilities.
- Organization: Keeps track of billing history and health-related settings.
Before you begin, ensure you have the following installed on your system:
Follow these steps to set up the project locally.
- Open the project folder in your code editor.
- Navigate to the
backenddirectory and run:npm install
- Create a new file in the
backendfolder named.env - Add your credentials:
(Note: Replace with your actual MongoDB connection string).
PORT=3000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key
To populate the initial medicine inventory:
- Ensure MongoDB is running.
- In the
backenddirectory, run:python import_csv.py
-
Start the Backend Server: In the
backenddirectory, run:node index.js
Confirm that the server is running and the database is connected.
-
Launch the Application: Open
frontend/index.htmlin your web browser or via a local server.
frontend/: Frontend files (HTML, CSS, JavaScript).backend/: Backend logic (API routes, Database Models).prescription_dataset/: Sample images for testing prescription uploads.node_modules/: Project dependencies.
We welcome contributions!
- Fork the project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Neha Maurya
- AI ML Developer
- Connect with me on LinkedIn for any queries regarding the project setup!