Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Learning Microservices

A Spring Boot microservices project for learning purposes, demonstrating a simple e-commerce system architecture.

## Architecture

The project consists of three microservices:

- **Product Service** - Manages product catalog (MongoDB)
- **Order Service** - Handles order processing (MySQL)
- **Inventory Service** - Tracks product inventory (MySQL)

## Technology Stack

- Java 21
- Spring Boot 3.5.5
- Maven
- MongoDB (Product Service)
- MySQL (Order & Inventory Services)
- Testcontainers for integration testing

## Build & Run

```bash
# Build all services
mvn clean compile

# Run tests
mvn test
```

## Services

| Service | Port | Database |
|---------|------|----------|
| Product Service | 8080 | MongoDB |
| Order Service | 8081 | MySQL |
| Inventory Service | 8082 | MySQL |