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.
User passwords are securely hashed during registration, ensuring the confidentiality of vendor credentials.
The application supports two login credentials - admin and vendor - providing distinct access levels and functionalities.
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.
Vendlify organizes products into six categories: food, drinks, snacks, stationery, perfumes & deodorant, and toiletries. This categorization facilitates a structured and user-friendly experience.
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.
Vendors can update, delete, and search for any item they sell, giving them control over their product listings.
Administrators can update, delete, and search for any vendor, ensuring robust management and oversight.
- 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.
-
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.
- Java 8 or higher
- MySQL
- 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.
This project is licensed under the MIT License.