Skip to content

Saro-3/medintel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MedIntel Logo

πŸ’Š MedIntel

MedIntel Banner

Generic Medicine Information System

A Full-Stack Web Application built using React.js, Spring Boot, and MySQL to provide structured generic medicine information.


Java React Spring Boot MySQL REST API Git Status


πŸ“‘ Table of Contents


πŸ“– Overview

MedIntel is a full-stack web application designed to provide structured and reliable information about generic medicines through an intuitive and user-friendly interface. Users can search medicines, explore detailed medicine insights, and access information such as chemical composition, dosage, indications, side effects, precautions, interactions, and storage guidelines.

The application is developed using React.js for the frontend, Spring Boot (Java) for the backend, and MySQL for database management. It follows a three-tier architecture and uses REST APIs to enable seamless communication between the frontend and backend.

To enhance user experience, MedIntel also includes a rule-based chatbot that provides quick responses to medicine-related queries using predefined knowledge stored within the system.


✨ Features

  • πŸ” Search medicines by brand name or generic name
  • πŸ’Š View detailed medicine information, including composition and dosage
  • πŸ“‹ Display indications, precautions, interactions, side effects, and storage details
  • πŸ“– View comprehensive medicine insights through a structured interface
  • πŸ€– Rule-based chatbot for medicine-related guidance
  • 🌐 REST API integration between frontend and backend
  • ⚑ Optimized medicine search using Data Structures & Algorithms (DSA)
  • πŸ“± Responsive and user-friendly web interface

πŸ› οΈ Technology Stack

Category Technologies
Frontend React.js, CSS3, JavaScript, Axios
Backend Java, Spring Boot, Spring Data JPA, Hibernate
Database MySQL
API REST API
Build Tool Maven
Version Control Git, GitHub
Development Tools Visual Studio Code, IntelliJ IDEA, MySQL Workbench, Postman

πŸ—οΈ System Architecture

The MedIntel application follows a three-tier architecture consisting of a React.js frontend, a Spring Boot backend exposing REST APIs, and a MySQL database for persistent storage.

MedIntel System Architecture

Workflow

  1. The user interacts with the React.js frontend.
  2. The frontend sends HTTP requests to the Spring Boot REST API.
  3. The backend processes business logic and communicates with the MySQL database.
  4. The database returns the requested data.
  5. The backend sends the response back to the frontend for display.

πŸ“‚ Project Structure

MedIntel/
β”‚
β”œβ”€β”€ frontend/                  # React.js Frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ public/
β”‚   └── README.md
β”‚
β”œβ”€β”€ backend/                   # Spring Boot Backend
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ pom.xml
β”‚   └── README.md
β”‚
β”œβ”€β”€ database/                  # MySQL Database Scripts
β”‚   β”œβ”€β”€ schema/
β”‚   β”œβ”€β”€ README.md
β”‚
β”œβ”€β”€ docs/                      # Project Documentation
β”‚   β”œβ”€β”€ report/
β”‚   β”œβ”€β”€ presentation/
β”‚   └── README.md
β”‚
β”œβ”€β”€ screenshots/               # Application Screenshots
β”‚   └── README.md
β”‚
β”œβ”€β”€ assets/                 # Images used in README
β”‚   β”œβ”€β”€architecture/
β”‚   β”‚  └── system-architecture.png
β”‚   β”‚
β”‚   β”œβ”€β”€ banner/
β”‚   β”‚   └── medintel-banner.png
β”‚   β”‚
β”‚   └── logo/
β”‚       └── medintel-logo.png
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ .gitignore
└── LICENSE

πŸš€ Installation Guide

Prerequisites

Before running the project, make sure the following software is installed on your system:

  • Java 21 or later
  • Node.js (v18 or later)
  • MySQL 8.0
  • Maven
  • Git

Ensure all prerequisites are installed before proceeding with the setup.


1️⃣ Clone the Repository

git clone https://github.com/Saro-3/medintel.git

Navigate to the project folder:

cd medintel

2️⃣ Database Setup

  1. Create a MySQL database named medintel.
  2. Import the SQL scripts available in the database/schema/ folder.
  3. Update the MySQL username and password in:
backend/src/main/resources/application.properties

3️⃣ Run the Backend

Navigate to the backend folder:

cd backend

Build and run the Spring Boot application:

mvn clean install
mvn spring-boot:run

The backend server will start at:

http://localhost:8080

4️⃣ Run the Frontend

Open a new terminal and navigate to the frontend folder:

cd frontend

Install the dependencies:

npm install

Start the React development server:

npm run dev

The frontend will be available at:

http://localhost:5173

5️⃣ Access the Application

Open your browser and visit:

http://localhost:5173

The frontend will communicate with the Spring Boot backend using REST APIs.


πŸ“Έ Application Screenshots

🏠 Home Page

The landing page introduces MedIntel and provides users with a search interface to explore medicine information.

Home Page


πŸ” Medicine Search

Users can search medicines by entering a medicine name, brand name, or generic name.

Medicine Search


πŸ’Š Medicine Insights

Displays a collection of medicines with essential information and allows users to explore detailed medicine insights.

Medicine Insights


πŸ“„ Medicine Details

Shows complete information about the selected medicine, including composition, dosage, indications, precautions, interactions, side effects, and storage information.

Medicine Details


πŸ€– Rule-Based Chatbot

A built-in chatbot that answers medicine-related questions using predefined rules and the application's medicine database.

Rule-Based Chatbot


🧠 Data Structures & Algorithms

MedIntel applies fundamental Data Structures and Algorithms to improve the efficiency of medicine search and data management.

DSA Concept Purpose
HashMap Stores medicine records for fast retrieval based on medicine or brand name.
ArrayList Manages collections of medicine records returned from the database.
Linear Search Finds medicines based on user-entered keywords before displaying detailed information.

Benefits

  • ⚑ Faster medicine information retrieval
  • πŸ“‚ Efficient in-memory data management
  • πŸ” Simple and reliable search for medicine records
  • πŸ“ˆ Improved application performance for medicine lookup

πŸ“š Documentation

The complete documentation for the MedIntel project is available in the docs/ directory.

Available Documents

  • πŸ“„ MedIntel Project Report (PDF) – Includes the project abstract, system design, database design, Data Flow Diagrams (DFD), testing, implementation details, and future enhancements.
  • πŸ“Š Viva Voce Presentation (PPT) – Presentation prepared for the project demonstration and Viva examination.

For additional information, refer to the docs/README.md file.


πŸš€ Future Enhancements

The following features are planned for future releases of MedIntel:

  • πŸ‘¨β€βš•οΈ Pharmacist authentication and secure login
  • πŸ“¦ Inventory management for medicine stock monitoring
  • πŸ›’ Medicine ordering system for hospitals and pharmacies
  • 🚚 Real-time order tracking
  • ⏰ Medicine expiry date monitoring
  • πŸ”” Low-stock notifications
  • πŸ“Š Dashboard with medicine usage analytics
  • πŸ€– AI-powered medicine assistant using Large Language Models (LLMs)

πŸ‘¨β€πŸ’» Author

Saravanan Thangaraj

M.Sc. Computer Science

Project: MedIntel – Generic Medicine Information System

Thank you for visiting this repository. Feedback and suggestions are always welcome!


πŸ“„ License

This project is licensed under the MIT License.

See the LICENSE file for more information.

About

A Full-Stack Generic Medicine Information System built with React.js, Spring Boot, and MySQL.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors