Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Š Pharmacy Management System

A comprehensive Pharmacy Management System developed using Java, JavaFX, MySQL, and MVC Architecture. This application is designed to streamline pharmacy operations by managing medicines, customers, suppliers, inventory, and billing processes through a user-friendly desktop interface.


πŸ“Œ Overview

The Pharmacy Management System provides an efficient way to handle daily pharmacy operations. It follows the Model-View-Controller (MVC) architectural pattern to ensure maintainable, scalable, and organized code structure.

The system enables pharmacy staff to manage inventory, process sales, maintain supplier information, and generate bills while reducing manual work and improving accuracy.


πŸš€ Features

πŸ‘€ User Management

  • Secure user login
  • Role-based system access
  • User account management

πŸ’Š Medicine Management

  • Add new medicines
  • Update medicine details
  • Delete medicines
  • Search medicines
  • View available stock

πŸ“¦ Inventory Management

  • Monitor stock levels
  • Manage medicine quantities
  • Track inventory updates
  • Prevent stock shortages

🚚 Supplier Management

  • Add suppliers
  • Update supplier details
  • Delete suppliers
  • Search supplier information

πŸ‘₯ Customer Management

  • Register customers
  • Update customer records
  • Search customer information
  • View customer history

🧾 Billing & Sales

  • Generate invoices
  • Calculate totals automatically
  • Process customer purchases
  • Print bills and receipts

πŸ“Š Reporting

  • Inventory reports
  • Sales reports
  • Supplier information reports
  • Customer transaction reports

πŸ—οΈ System Architecture

This project follows the MVC (Model-View-Controller) design pattern.

Model

Responsible for:

  • Database operations
  • Business entities
  • Data management

View

Responsible for:

  • JavaFX user interfaces
  • Forms and dashboards
  • User interaction

Controller

Responsible for:

  • Application logic
  • User input handling
  • Communication between View and Model

πŸ› οΈ Technologies Used

Technology Purpose
Java Application Development
JavaFX GUI Development
MySQL Database Management
JDBC Database Connectivity
MVC Architecture Project Structure
CSS UI Styling
IntelliJ IDEA Development Environment
Git & GitHub Version Control

πŸ“‚ Project Structure

src/
β”‚
β”œβ”€β”€ controller/
β”‚   β”œβ”€β”€ CustomerController
β”‚   β”œβ”€β”€ SupplierController
β”‚   β”œβ”€β”€ MedicineController
β”‚   └── OrderController
β”‚
β”œβ”€β”€ model/
β”‚   β”œβ”€β”€ Customer
β”‚   β”œβ”€β”€ Supplier
β”‚   β”œβ”€β”€ Medicine
β”‚   └── Order
β”‚
β”œβ”€β”€ db/
β”‚   └── DatabaseConnection
β”‚
β”œβ”€β”€ view/
β”‚   β”œβ”€β”€ Dashboard
β”‚   β”œβ”€β”€ CustomerForm
β”‚   β”œβ”€β”€ SupplierForm
β”‚   β”œβ”€β”€ MedicineForm
β”‚   └── BillingForm
β”‚
└── Main.java

πŸ“Έ Screenshots

Login Screen

image alt


Dashboard

image alt


Medicine Management

image alt


Supplier Management

image alt


Billing System

image alt


βš™οΈ Installation

Clone Repository

git clone https://github.com/ANu-771/Pharmacy-management-system.git

Open Project

Open the project in IntelliJ IDEA

Configure Database

  1. Create a MySQL database.
  2. Import the provided SQL file.
  3. Update database credentials in the connection class.

Run Application

Run Main.java

🎯 Learning Outcomes

This project demonstrates:

  • Object-Oriented Programming (OOP)
  • MVC Architecture
  • JavaFX Development
  • Database Integration
  • CRUD Operations
  • Form Validation
  • Software Engineering Principles
  • Desktop Application Development

Developed by ISURU ANUPAMA


⭐ Support

If you found this project useful, please consider giving it a ⭐ on GitHub.


πŸ“œ License

This project was developed for educational and academic purposes.

About

πŸ’Š Pharmacy Management System built with Java, JavaFX, MySQL, and MVC Architecture, featuring medicine inventory management, supplier tracking, customer management, and billing operations.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages