JavaCRUD is a Java program that demonstrates CRUD (Create, Read, Update, Delete) operations using MySQL database. It simulates a book shop management system where you can enter book details like name, price, and edition, store them in the database, and perform various operations on the data.
To run this program, you need the following:
- Java Development Kit (JDK) installed on your system.
- XAMPP or any other MySQL server setup to create the database and tables.
-
Clone the repository or download the source code.
-
Install and start XAMPP or any other MySQL server.
-
Create a new database using phpMyAdmin or any other MySQL administration tool.
-
Import the provided SQL file (
database.sql
) into the created database. This will create the necessary tables. -
Open the project in your preferred Java IDE.
-
Update the database connection details in the program to match your MySQL server setup.
-
Build and run the program.
Once the program is running:
-
Enter the book details, including the name, price, and edition.
-
Select the desired operation: Create, Read, Update, or Delete.
-
Perform the operation on the book data.
-
View the updated book data or perform additional operations as needed.
Contributions to JavaCRUD are welcome! If you have any ideas, improvements, or bug fixes, please submit a pull request.
This project is licensed under the MIT License.
JavaCRUD provides a practical demonstration of CRUD operations using Java and MySQL database. It showcases a book shop management system, allowing you to store, retrieve, update, and delete book information. Feel free to explore the code, enhance the functionalities, and customize it according to your requirements.
Enjoy using JavaCRUD for your data management needs! 📚