Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jadavtanvi/crud-operation
Book Shop using CRUD
https://github.com/jadavtanvi/crud-operation
bookshop bookshop-system crud crud-application crudoperation java mysql-database mysqlconnection swing xampp-control-panel xampp-server
Last synced: about 18 hours ago
JSON representation
Book Shop using CRUD
- Host: GitHub
- URL: https://github.com/jadavtanvi/crud-operation
- Owner: jadavtanvi
- Created: 2024-05-29T16:06:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T17:00:05.000Z (9 months ago)
- Last Synced: 2024-05-31T06:12:20.396Z (9 months ago)
- Topics: bookshop, bookshop-system, crud, crud-application, crudoperation, java, mysql-database, mysqlconnection, swing, xampp-control-panel, xampp-server
- Language: Java
- Homepage:
- Size: 235 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book Shop CRUD Application
This is a simple CRUD application for a book shop, built using PHP, MySQL, and XAMPP. The application allows you to create, read, update,search and delete book records.
## Features
- Add new book records
- View existing book records
- search book records
- Update book records
- Delete book records## Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed [XAMPP](https://www.apachefriends.org/download.html).
- You have a basic understanding of PHP and MySQL.## Installation
1. **Clone the Repository**
```sh
git clone https://github.com/jadavtanvi/CRUD-Operation.git2. **Start XAMPP**
Open XAMPP and start the Apache and MySQL modules.
3. **Create the Database**
Open phpMyAdmin by visiting http://localhost/phpmyadmin/ in your web browser.## Configuration
1. **Database Connection**Open the config.php file and update the database connection details:
```
//
connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
```
## Usage
1. **Perform CRUD Operations**To add a new book, fill out the form on the homepage and click "Add Book".
To view all books, navigate to the "Books List" page.
To Search a book, click the "Search" button.
To update a book, click the "Update" button next to the book you want to update, make your changes, and click "Update".
To delete a book, click the "Delete" button next to the book you want to delete.2. **Database Structure**
The database contains a single table named books with the following structure:id (INT) - Primary Key, Auto Increment
name (VARCHAR) - The title of the book
edition (INT) - The author of the book
price (DECIMAL) - The price of the bookBy linking directly to the download page, you ensure that users can easily find and download the software required to run your application.