The Pharmacy Management System is a web-based application designed to manage the operations of a pharmacy. The system allows for the management of medicines, customers, and sales transactions. This project is implemented in Java using the Tomcat server and the H2 database.
- Medicine Management: Add, update, delete, and view medicine details.
- Prescription Management: Track and manage prescription levels of medicines.
- User Authentication: Secure login and user role management.
- Backend: Java
- Web Server: Apache Tomcat
- Database: H2 Database
- Frontend: HTML, CSS
- Java Development Kit (JDK) 8 or higher
- Apache Tomcat 9 or higher
- H2 Database
-
Clone the Repository
git clone https://github.com/raphaelgpalma/farmatech.git
-
Set Up the Database
- Navigate to the src/main/resources directory.
- Open the schema.sql file and execute the SQL commands in your H2 database console to create the necessary tables.
- Configure the Database Connection
- Open the src/main/resources/application.properties file.
- Update the database URL, username, and password if necessary.
- Build the Project
mvn clean install
-
Login
- Use the default admin credentials to log in:
- Username:
admin
- Password:
admin
- Username:
- Change the default password after the first login.
- Use the default admin credentials to log in:
-
Medicine Management
- Navigate to the Medicines section to add, update, or delete medicine records.
-
Customer Management
- Navigate to the Customers section to manage customer information.
-
Sales Transactions
- Navigate to the Sales section to process sales transactions and view sales history.
-
Inventory Management
- Monitor inventory levels and generate alerts for low stock.