A Spring Boot based shopping cart and e-commerce backend for XYZ Retail.
This repository contains a Java Spring Boot application that provides REST APIs for:
- Authentication and JWT-based login/registration
- Product browsing and search
- Shopping cart management
- Order placement and order history
- Wishlist management
- Product reviews and ratings
- Java 17
- Spring Boot 3.2.5
- Spring Web
- Spring Data JPA
- Spring Security
- JWT (JJWT)
- MySQL
- Lombok
- Maven
The main application lives under the shopping-cart/ directory.
- User registration and login
- Secure API endpoints with JWT authentication
- Product catalog with pagination and search
- Category-based product browsing
- Add, update, and remove cart items
- Place orders and manage order status
- Wishlist support
- Product reviews with average rating updates
- Java 17+
- Maven 3.8+
- MySQL database
From the shopping-cart/ directory:
mvn spring-boot:runmvn clean installPOST /api/auth/registerPOST /api/auth/loginGET /api/productsGET /api/products/{id}GET /api/products/search?q=...GET /api/cartPOST /api/cart/addPOST /api/orders/placeGET /api/wishlistGET /api/reviews/{productId}
A live deployment is linked in the repository homepage.
No license file is currently included.