This Stock Management System is a JavaFX application that helps local stores manage their inventory efficiently. Additionally, it includes a chat feature that enables communication between local stores and suppliers.
- Product Management: Add, update, and remove products from the inventory.
- Inventory Tracking: Keep track of product quantities and prices.
- User Authentication: Secure user accounts with login and registration.
- Chat Functionality: Enable communication between local stores and suppliers.
- Supplier Management: Add, edit, or remove supplier details.
- Reporting: Generate reports for inventory analysis and order history.
- User Roles: Assign roles to users (store manager, supplier, etc.).
- Database Integration: Utilize MySQL for data storage and retrieval.
- JavaFX: A Java library for creating rich desktop applications with a modern user interface.
- MySQL: A relational database for storing product and user data.
- Java Authentication and Authorization Service (JAAS): For secure user authentication.
- Java Sockets: Used for real-time chat communication.
- Maven: A build tool for managing project dependencies.
- JavaFX Scene Builder: A visual layout tool for designing user interfaces.
- Java Persistence API (JPA): For object-relational mapping with the database.
-
Clone the repository:
git clone <url>
-
Install Java Development Kit (JDK) if not already installed.
-
Set up a MySQL database and import the database schema.
-
Configure the database connection in the application.
-
Build and run the project using Maven or your preferred Java IDE.
-
Access the application locally at
http://localhost:8080
.
- Log in or register as a local store manager or supplier.
- Manage products in the inventory.
- Communicate with suppliers via the built-in chat feature.
- Generate reports for inventory analysis.
- View order history and supplier details.