NesReadingAlternative is a web application project for online book sales, providing features for book management, shopping cart, and checkout. The project is developed with Spring Boot and follows the MVC architecture.
- View Book List: Users can browse through the available books.
- Add to Cart: Allows users to add books to their shopping cart.
- Checkout: Enables users to complete their purchase via the shopping cart.
- Book Recommendations: Integrated AI-based feature to suggest books to users.
controller: Contains controller classes for handling HTTP requests and processing page-specific logic.service: Contains business logic classes to manage data operations.repository: Contains interfaces for database connections, using JPA for data querying.dto: Defines Data Transfer Objects (DTOs) used between various layers in the project.validation: Validates user input data.specification: Contains data search filters (if applicable).
- Java 21 or higher
- Maven for dependency management
-
Clone this repository:
git clone <repository-link> cd NesReadingAlternative
-
Install dependencies:
mvn install
-
Configure the database (if necessary):
- Check the
application.propertiesfile in thesrc/main/resourcesdirectory to adjust database connection settings.
- Run the application:
mvn spring-boot:run
The application will run on http://localhost:8080.
- Access the homepage to view the book list.
- Add books to the cart by clicking the "Add to Cart" button.
- Checkout by going to the cart and clicking "Checkout."
If you’d like to contribute, please fork the repository, create a new branch for your changes, and open a pull request.
This project is licensed under the MIT License.
Replace `<repository-link>` with the actual link to your repository. This documentation should provide a clear and concise guide in English for users and reviewers.