This project is a full-stack e-commerce application built with Java Spring Boot and Thymeleaf. It showcases core CRUD operations, JWT-based authentication, and an admin variant for enhanced functionality.
- JWT Authentication: Secure login and registration for users with JSON Web Tokens.
- Browse Products: Users can view available products with dynamic content rendered via Thymeleaf.
- Add to Cart: Seamless cart management for selected products.
- Checkout and Order Management: Place orders and view order history.
- Product Management: Full CRUD operations to create, read, update, and delete products.
- Dashboard: Admin-specific interface for managing the platform.
- Role-Based Access Control: Different features for users and admins using Spring Security.
- JWT Token Implementation: Ensures secure access to APIs for both users and admins.
- Backend: Java Spring Boot
- Frontend: Thymeleaf
- Database: MySQL
- Security: Spring Security with JWT
-
Clone the repository:
git clone https://github.com/your-repo/ecommerce.git
-
Navigate to the project directory:
cd ecommerce
-
Configure the database connection in
application.properties
. -
Build and run the application:
mvn spring-boot:run