Welcome to the Bookstore repository! This project offers a comprehensive solution for managing and purchasing books online. With features designed for both users and administrators, it streamlines the book shopping experience.
You can find the latest releases here. Download and execute the files to explore the features of this online book store.
The Bookstore application comes packed with a variety of features that enhance the user experience:
- User Management: Secure login and logout options for both users and admins.
- Book Management: Easily add, remove, and manage book inventory.
- Shopping Cart: Users can select books and specify quantities before purchase.
- Auto Receipt Generation: After a purchase, users receive an automatic receipt.
- Payment Options: Multiple payment methods for convenience.
- Separate Profiles: Unique profiles for users and administrators to manage their activities.
This project utilizes a variety of technologies to ensure a smooth and efficient operation:
- Java: The core programming language for the application.
- JDBC: For database connectivity.
- JSP: JavaServer Pages for building dynamic web content.
- MySQL: The database management system for storing book and user data.
- Servlets: For handling requests and responses in a web application.
- HTML/CSS: For structuring and styling the web pages.
- JavaScript: To enhance user interactions.
To get started with the Bookstore application, follow these steps:
-
Clone the Repository:
git clone https://github.com/Alivtraaa/bookstore.git
-
Navigate to the Project Directory:
cd bookstore -
Set Up the Database:
- Ensure you have MySQL installed.
- Create a new database named
bookstore. - Import the SQL scripts provided in the
sqldirectory to set up the tables.
-
Configure Database Connection:
- Open the
db.propertiesfile. - Update the database URL, username, and password as per your setup.
- Open the
-
Run the Application:
- Use your favorite IDE to run the project.
- Alternatively, compile and run the Java files from the command line.
Once the application is running, you can access it via your web browser. Hereβs how to navigate through the features:
-
Login: Enter your credentials to access your profile. If you are an admin, you will have additional options.
-
Browse Books: Explore the available books. You can filter by categories or search for specific titles.
-
Add to Cart: Select the desired book and specify the quantity. Click on "Add to Cart" to proceed.
-
Checkout: Review your cart and proceed to checkout. Choose your preferred payment method.
-
Receive Receipt: After completing your purchase, you will receive a receipt via email.
-
Admin Functions: Admins can add or remove books, manage user accounts, and view purchase history.
Here are some screenshots to give you a glimpse of the application:
We welcome contributions to enhance the Bookstore application. If you would like to contribute, please follow these steps:
-
Fork the Repository: Click on the "Fork" button at the top right of the repository page.
-
Create a New Branch:
git checkout -b feature/YourFeatureName
-
Make Your Changes: Implement your feature or fix a bug.
-
Commit Your Changes:
git commit -m "Add your message here" -
Push to the Branch:
git push origin feature/YourFeatureName
-
Create a Pull Request: Go to the original repository and submit a pull request.
Your contributions help improve the project and benefit all users.
This project is licensed under the MIT License. You are free to use, modify, and distribute the software as per the license terms.
For any inquiries or feedback, please reach out to the project maintainer:
- Name: Your Name
- Email: your.email@example.com
- GitHub: Your GitHub Profile
For the latest releases, check the Releases section.
Feel free to explore, contribute, and enjoy your online book shopping experience!