A simple, modular eCommerce platform built with Spring Boot. This project demonstrates core eCommerce functionality with a clean, modular architecture.
This application implements a basic eCommerce system with fundamental features like product management, shopping cart functionality, and order processing. The project follows a multi-module Maven structure to maintain clean separation of concerns.
The application follows a multi-module Maven project structure:
- Library: Common module containing domain models (JPA entities), DTOs, repositories, and core services.
- Admin: Spring Boot application for the administrative interface.
- Customer: Spring Boot application for the customer-facing storefront.
- Product and category management
- Basic shopping cart functionality
- Simple order processing
- User account management
- Admin dashboard for inventory management
- Backend: Spring Boot, Spring Data JPA
- Database: MySQL
- Build Tool: Maven
The application implements these core eCommerce components:
- Category Management: Basic CRUD operations for product categories
- Product Catalog: Product information management with images
- Shopping Cart: Add/remove products and update quantities
- Order Processing: Simple order creation and status tracking
- User Management: Basic user authentication and authorization
- Java 17+
- Maven 3.8+
- MySQL/PostgreSQL
-
Clone the repository:
git clone https://github.com/ndanhx/ecommerce-springboot.git cd ecommerce-springboot -
Build the project:
mvn clean install
-
Configure your database connection in
application.properties -
Run the applications:
# Run Admin application cd admin mvn spring-boot:run # Run Customer application cd customer mvn spring-boot:run
Developed by Nguyen Duy Anh