Skip to content

Allows users to input the ingredients they have on hand and receive a list of possible recipes that can be made with those ingredients.

Notifications You must be signed in to change notification settings

jaredraga/SIL-inventory-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Inventory System

Overview

This is my final project before I got my Java NC III certification.

It's a Java-based application that allows users to input the ingredients they have on hand and receive a list of possible recipes that can be made with those ingredients. This application is designed to help users efficiently utilize their available ingredients and reduce food waste.

Features

  • Ingredient Input: Users can enter the ingredients they have available.
  • Recipe Output: The system generates a list of recipes that can be made with the provided ingredients.
  • Database Connection: The application connects to a MySQL database to store and retrieve recipes and ingredients.
  • User Accounts: The system supports user accounts with roles (Admin, Sales, Logistic) for managing recipes and ingredients.

Technologies Used

  • Java
  • MySQL
  • JDBC (Java Database Connectivity)

Getting Started

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • MySQL Server
  • Maven (for dependency management)

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd G4_SIL_InventorySystem
  2. Set up the MySQL database:

    • Create a database named inventory_system_g4.
    • Import the SQL schema provided in the sql directory (if available).
  3. Configure database connection:

    • Update the database connection details in DbConnect.java:
      private String url = "jdbc:mysql://localhost:3306/inventory_system_g4";
      private String username = "root"; // Change if necessary
      private String password = ""; // Change if necessary
  4. Build the project using Maven:

    mvn clean install
  5. Run the application:

    java -jar target/inventory-system.jar

Usage

  • Start the application and log in using your credentials.
  • Input the ingredients you have in the provided form.
  • View the list of recipes generated based on your input.

Contributing

Feel free to submit issues or pull requests if you would like to contribute to the project.

License

This project is licensed under the MIT License.

About

Allows users to input the ingredients they have on hand and receive a list of possible recipes that can be made with those ingredients.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages