The Inventory System is a robust and user-friendly application built using Java, SQL, and Maven. It provides a comprehensive solution for managing inventory, tracking transactions, and user authentication with password reset functionality. The application uses JavaFX for its user interface.
- User-friendly login system with password reset functionality
- Intuitive dashboard for managing inventory
- Comprehensive transaction history tracking
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Java and Maven.
- You have a Windows machine. The code may work on other platforms, but that hasn't been tested yet.
- Have IntelliJ IDEA installed on your machine. (You can use any other IDE, but the instructions are for IntelliJ IDEA.)
To install the Inventory System, follow these steps:
- Clone the repository:
git clone https://github.com/mjfactor/invetorysystem.git
- Navigate into the directory:
cd invetorysystem
- Build the project:
main
(You can use New Project from Version Control
in IntelliJ IDEA and paste the URL.)
This application uses a MySQL database to store inventory data. Follow these steps to set up the database:
- Download and install XAMPP from the official website.
- Start the XAMPP control panel and start the Apache and MySQL modules.
- Open a web browser and navigate to
http://localhost/phpmyadmin
. - In the phpMyAdmin interface, click on the
Import
tab. - Click
Choose File
and navigate to theinventory.sql
file in the project directory. - Click
Go
to import the database.
The program will not work if the database is not set up correctly.
This application may require additional jar files to be added to the project libraries. Follow these steps to do so:
- Download the required jar files and save them in a known location on your system.
- In IntelliJ IDEA, open the
File
menu and selectProject Structure
. - In the Project Structure dialog, select
Modules
under theProject Settings
section. - In the Modules pane, select the
Dependencies
tab. - Click the
+
button at the bottom of the pane and selectJARs or directories...
. - In the file chooser dialog, navigate to the location where you saved the jar files, select them, and click
OK
. - Click
Apply
and thenOK
to close the Project Structure dialog.
To use the Inventory System, follow these steps:
1 Fork this Repository
2. Run the application: java -jar target/invetorysystem-1.0-SNAPSHOT.jar
3. Follow the on-screen prompts to log in or reset your password.
4. Use the dashboard to manage inventory and view transaction history.
The GUI for this application is built using JavaFX and can be edited using SceneBuilder. Here are the steps to do so:
- Download and install SceneBuilder from Gluon's website.
- Open SceneBuilder.
- Go to
File > Open
and navigate to the.fxml
files in the project directory. - After opening the file, you can visually edit the GUI.
- Save your changes and they will be reflected in the application when you run it.
Please note that you should have a good understanding of JavaFX before editing the GUI.