The Reading Store is a JavaFX-based desktop application designed to facilitate the buying and selling of books. The application provides a seamless user experience with features tailored for both customers and administrators. The system implements role-based access control to ensure that different user roles have access to the features specific to their needs.
- Different user roles such as Admin and Customer.
- Admins have privileges to manage the book inventory, including adding, editing, and deleting books.
- Customers can browse, add books to their cart, and proceed with purchases.
- Customers can buy books directly.
- Users can also list books for sale, enabling a two-way marketplace.
- The cart system includes a limit-checking mechanism to ensure proper handling of items.
- Users are notified if the cart exceeds the predefined limit.
- A streamlined process for checking out ensures a quick and hassle-free experience.
- Includes validation for payment and order confirmation.
- Admins can add new books to the store’s inventory.
- Books can be edited or removed based on requirements.
- Java: Core programming language for application logic.
- JavaFX: Used for building a responsive and modern user interface.
- JDBC: Facilitates database connectivity and interaction.
- MySQL: Database management system for storing user, book, and transaction data.
- Install Java JDK (version 11 or later).
- Install JavaFX kit
- Install MySQL Server.
- Set up your environment with a compatible IDE (e.g., IntelliJ IDEA, Eclipse).
- Clone the repository to your local machine:
git clone https://github.com/nycanshu/readnigstore
- Import the project into your IDE.
- Set up the database:
- Create a new MySQL database.
- Execute the provided SQL script (
schema.sql) to initialize the database schema. - (It will be updated later)
- Update database configurations in the application (e.g.,
db.propertiesfile):db.url=jdbc:mysql://localhost:3306/reading_store db.user=root db.password=yourpassword
- Build and run the project through your IDE or using the command line:
mvn javafx:run
- Log in with admin credentials.
- Navigate to the "Manage Books" section to add, edit, or delete books.
- Browse the catalog and add books to your cart.
- Proceed to checkout to complete your purchase.
Contributions are welcome! Please fork the repository and submit a pull request for review.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries or support, please contact:
- Developer Name: Himanshu
- Email: [himanshu.is.dev@gmail.com]
These are some sample images, but the actual project contains more screens with more additional features.





