This is a simple product management system built with Java, Hibernate, Spring Boot MVC, Thymeleaf, and Maven.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Java JDK 17, Maven, MySQL Server, and MySQL Workbench.
- You have a Windows machine. This guide is tailored for Windows users.
- You have read the Spring Boot documentation.
To set up the Product Management System, follow these steps:
- Clone this repository to your local machine.
- Install and set up the MySQL server and MySQL Workbench. Create a database named
pms
and a user with the usernameroot
and passwordadmin
. Hostname should belocalhost
and port3306
. - Navigate to the root directory of the project in your terminal.
- Run
mvn clean install
to build the project and install dependencies.
To run the Product Management System, follow these steps:
- Navigate to the root directory of the project in your terminal.
- Run
mvn spring-boot:run
to start the application. - Open your web browser and visit
http://localhost:8080/products
.
- On the homepage, you can view all the products.
- Use the navigation bar to create, edit, or delete products.
To contribute to the Product Management System, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
If you would like to contact me, you can reach me at [email protected]
.