# rakesh14apr/productservice_ecomm architecture

> Architecture diagram of the GitHub repository rakesh14apr/productservice_ecomm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rakesh14apr/productservice_ecomm
- Repository: https://github.com/rakesh14apr/productservice_ecomm

## Overview

The repository appears to be a Spring-based product service, with controller/DTO, service, persistence, configuration, and ORM-inheritance example areas. The file tree supports identifying these components, but no README or source excerpts were provided, so runtime calls, data flow, and external integrations cannot be verified; no edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Product API"]
  node_application["Application"]
  node_controller["Product Controller"]
  node_request_dto["Product Request"]
  node_response_dto["Product Response"]
end

subgraph group_domain["Product Domain"]
  node_service_contract["Service Contract"]
  node_self_service["Self Service"]
  node_fake_store_service["Fake Store Service"]
  node_product_model["Product Model<br/>[Product.java]"]
  node_category_model["Category Model<br/>[Category.java]"]
  node_base_model["Base Model<br/>[BaseModel.java]"]
  node_product_exceptions["Product Exceptions"]
end

subgraph group_persistence["Persistence"]
  node_product_repository["Product Repository"]
  node_category_repository["Category Repository"]
  node_app_config["Application Config"]
  node_redis_config["Redis Config"]
end

subgraph group_examples["ORM Examples"]
  node_joined_inheritance["Joined Table Mapping"]
  node_mapped_superclass["Mapped Superclass"]
  node_single_table["Single Table Mapping"]
  node_table_per_class["Table Per Class"]
end

node_client(("API Client"))

click node_application "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/ProductApplication.java"
click node_controller "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/controllers/ProductController.java"
click node_request_dto "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/dtos/ProductRequestDto.java"
click node_response_dto "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/dtos/ProductResponseDto.java"
click node_service_contract "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/IProductService.java"
click node_self_service "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/SelfProductService.java"
click node_fake_store_service "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/FakeStoreProductService.java"
click node_product_model "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/Product.java"
click node_category_model "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/Category.java"
click node_base_model "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/BaseModel.java"
click node_product_exceptions "https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/exceptions"
click node_product_repository "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/repositories/ProductRespository.java"
click node_category_repository "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/repositories/CategoryRepository.java"
click node_app_config "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/config/ApplicationConfiguration.java"
click node_redis_config "https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/config/RedisConfiguration.java"
click node_joined_inheritance "https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/joinedtable"
click node_mapped_superclass "https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/mappedsuperclass"
click node_single_table "https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/singletable"
click node_table_per_class "https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/tableperclass"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_application,node_controller,node_request_dto,node_response_dto,node_client toneBlue
class node_service_contract,node_self_service,node_fake_store_service,node_product_model,node_category_model,node_base_model,node_product_exceptions toneAmber
class node_product_repository,node_category_repository,node_app_config,node_redis_config toneMint
class node_joined_inheritance,node_mapped_superclass,node_single_table,node_table_per_class toneRose
```

## Components

### Product API

- [Application](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/ProductApplication.java): `src/main/java/com/example/product/ProductApplication.java`
- [Product Controller](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/controllers/ProductController.java): `src/main/java/com/example/product/controllers/ProductController.java`
- [Product Request](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/dtos/ProductRequestDto.java): `src/main/java/com/example/product/dtos/ProductRequestDto.java`
- [Product Response](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/dtos/ProductResponseDto.java): `src/main/java/com/example/product/dtos/ProductResponseDto.java`

### Product Domain

- [Service Contract](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/IProductService.java): `src/main/java/com/example/product/services/IProductService.java`
- [Self Service](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/SelfProductService.java): `src/main/java/com/example/product/services/SelfProductService.java`
- [Fake Store Service](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/services/FakeStoreProductService.java): `src/main/java/com/example/product/services/FakeStoreProductService.java`
- [Product Model](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/Product.java): `src/main/java/com/example/product/models/Product.java`
- [Category Model](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/Category.java): `src/main/java/com/example/product/models/Category.java`
- [Base Model](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/models/BaseModel.java): `src/main/java/com/example/product/models/BaseModel.java`
- [Product Exceptions](https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/exceptions): `src/main/java/com/example/product/exceptions`

### Persistence

- [Product Repository](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/repositories/ProductRespository.java): `src/main/java/com/example/product/repositories/ProductRespository.java`
- [Category Repository](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/repositories/CategoryRepository.java): `src/main/java/com/example/product/repositories/CategoryRepository.java`
- [Application Config](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/config/ApplicationConfiguration.java): `src/main/java/com/example/product/config/ApplicationConfiguration.java`
- [Redis Config](https://github.com/rakesh14apr/productservice_ecomm/blob/master/src/main/java/com/example/product/config/RedisConfiguration.java): `src/main/java/com/example/product/config/RedisConfiguration.java`

### ORM Examples

- [Joined Table Mapping](https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/joinedtable): `src/main/java/com/example/product/inheritanceDemo/joinedtable`
- [Mapped Superclass](https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/mappedsuperclass): `src/main/java/com/example/product/inheritanceDemo/mappedsuperclass`
- [Single Table Mapping](https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/singletable): `src/main/java/com/example/product/inheritanceDemo/singletable`
- [Table Per Class](https://github.com/rakesh14apr/productservice_ecomm/tree/master/src/main/java/com/example/product/inheritanceDemo/tableperclass): `src/main/java/com/example/product/inheritanceDemo/tableperclass`

### Other components

- **API Client**
