This Pharmacy Management System is a Java-based application designed to streamline the management of a pharmacy. Developed using IntelliJ IDEA and MySQL as the database, this system offers a range of features to efficiently handle various pharmacy operations.
- Add Drugs: Easily add new drugs to the inventory with necessary details.
- Remove Drugs: Remove drugs from the inventory when they are no longer available or needed.
- Search Drugs: Quickly search for drugs in the inventory using different criteria.
- Sales Tracking: Retrieve sales records based on date and time to monitor transactions and generate reports.
- Java: The core programming language for the application.
- IntelliJ IDEA: The integrated development environment (IDE) used for development.
- MySQL: The relational database management system used for storing and managing data.
- Java JDK (version 20 or higher)
- IntelliJ IDEA
- MySQL
- [MySQL Java Connector]
-
Clone the Repository
git clone https://github.com/yourusername/pharmacy-management-system.git cd pharmacy-management-system
-
Setup MySQL Database
- Create a new database in MySQL.
- Run the provided SQL script (
database_setup.sql
) to set up the necessary tables.
-
Configure Database Connection
- Update the database connection details in the configuration file (e.g.,
db.properties
).
- Update the database connection details in the configuration file (e.g.,
-
Run the Application
- Open the project in IntelliJ IDEA.
- Build and run the project.
- Adding Drugs: Navigate to the 'Add Drugs' section, fill in the details, and click 'Add'.
- Removing Drugs: Go to the 'Remove Drugs' section, select the drug to be removed, and click 'Remove'.
- Searching Drugs: Use the 'Search Drugs' feature to find drugs based on name, category, etc.
- Sales Tracking: Use the 'Sales' section to view and retrieve sales data based on specific date and time ranges.
Contributions are welcome! Please fork this repository and submit pull requests for any improvements or new features.
For any inquiries or support, please contact sakyie546@gmail.com.