Vendlify - Vendor Management App ποΈ
Vendlify is a Java GUI-based Vendor Management Application designed to streamline the process of vendor registration, profile management, and inventory control. The application prioritizes security, convenience, and efficient management for vendors and administrators.
Features π
Secure Registration π
User passwords are securely hashed during registration, ensuring the confidentiality of vendor credentials.
Dual Authentication π
The application supports two login credentials - admin and vendor - providing distinct access levels and functionalities.
Vendor Dashboard π
Vendors can create accounts, log in, and easily update their profiles. Additionally, they can manage their inventory by adding, updating, and deleting items they sell.
Product Categories π¦
Vendlify organizes products into six categories: food, drinks, snacks, stationery, perfumes & deodorant, and toiletries. This categorization facilitates a structured and user-friendly experience.
Admin Dashboard π
Administrators can log in to access a comprehensive view of all registered vendors. This dashboard allows administrators to efficiently update, delete, and search for vendors.
Inventory Management π
Vendors can update, delete, and search for any item they sell, giving them control over their product listings.
Vendor Management π€
Administrators can update, delete, and search for any vendor, ensuring robust management and oversight.
Getting Started π
- Clone the repository to your local machine.
- Open the project in your preferred Java development environment.
- Run the
homePage.java
file to launch the application.
Setting Up the Database π οΈ
-
Create a MySQL database named
vendlify
. -
Inside the
vendlify
database, create thevendors
andvendor_items
tables using the following SQL statements:
CREATE TABLE vendors (
id INT AUTO_INCREMENT PRIMARY KEY,
full_name VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
email VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
phone_no VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
password VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
user_role VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'vendor',
location VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
item_categories VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
);
CREATE TABLE vendor_items (
id INT AUTO_INCREMENT PRIMARY KEY,
vendor_id INT NOT NULL,
name VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
category VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
price VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
in_stock INT NOT NULL,
FOREIGN KEY (vendor_id) REFERENCES vendors(id)
);
- Update the
DBConnector
class in the project with your MySQL database connection details.
Dependencies π¦
- Java 8 or higher
- MySQL
Usage πΉοΈ
- Launch the application.
- Log in as either a vendor or an administrator.
- Follow the on-screen prompts to manage profiles, inventory, and vendors.
- You can find the app screenshots here.
License π
This project is licensed under the MIT License.