This project is a web-based book store system developed using HTML, CSS, JavaScript, PHP, and MySQL. It allows users to browse available books, make purchases, manage their orders, and admins to manage inventory and orders.
- User Authentication: Users can sign up, log in, and log out securely.
- Book Listings: Browse available books with details such as title, author, genre, and price.
- Shopping Cart: Users can add books to their shopping cart and proceed to checkout.
- Order Management: Users can view and manage their orders, including order history and status.
- Admin Panel: Admins have access to manage books, categories, orders, and user accounts.
- Search Functionality: Users can search for specific books based on various criteria.
-
Clone the repository: git clone https://github.com/Shubham0202/book_store.git
-
Import the Database:
- Create a MySQL database and import the
bookstore.sql
.
- Create a MySQL database and import the
-
Configure Database Connection:
- Update the
connect.php
file located in theroot
directory with your database credentials.
- Update the
-
Start the Server:
- Start a PHP server (e.g., using XAMPP).
-
Access the Application:
- Open a web browser and navigate to
http://localhost/book_store
.
- Open a web browser and navigate to
- User Dashboard: Users can log in to their account, browse available books, add them to the cart, and proceed to checkout.
- Admin Panel: Administrators can log in to access the admin dashboard, where they can manage books, categories, orders, and user accounts.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.