# nojorono/core-gateaway architecture

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

- Interactive diagram: https://gitdiagram.com/nojorono/core-gateaway
- Repository: https://github.com/nojorono/core-gateaway

## Overview

This repository documents a Kong API Gateway in front of four backend domains: WMS, Marketing Dashboard, Retailer Yield Optimization, and Master Data. The principal workflow is a client request entering Kong and being routed to a backend service; authentication is described as an optional plugin capability. The README notes that backend images are illustrative httpbin examples. Source excerpts were unavailable, so backend internals and specific route-to-service mappings are not inferred.

Main entry points: [`kong.yml`](https://github.com/nojorono/core-gateaway/blob/master/kong.yml) (Kong Gateway), [`backend-wms`](https://github.com/nojorono/core-gateaway/tree/master/backend-wms) (Warehouse Management), [`backend-md`](https://github.com/nojorono/core-gateaway/tree/master/backend-md) (Marketing Dashboard), [`backend-ryo`](https://github.com/nojorono/core-gateaway/tree/master/backend-ryo) (Retailer Yield Optimization)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gateway["API Gateway"]
  node_kong["Kong Gateway<br/>[kong.yml]"]
end

subgraph group_services["Backend Services"]
  node_wms["Warehouse Management"]
  node_md["Marketing Dashboard"]
  node_ryo["Retailer Yield Optimization"]
  node_meta["Master Data Service"]
end

node_client(("API Client"))
node_auth["JWT Plugin"]

node_client -->|"sends requests"| node_kong
node_kong -->|"routes requests"| node_wms
node_kong -->|"routes requests"| node_md
node_kong -->|"routes requests"| node_ryo
node_kong -->|"routes requests"| node_meta
node_kong -.->|"may invoke"| node_auth

click node_kong "https://github.com/nojorono/core-gateaway/blob/master/kong.yml"
click node_wms "https://github.com/nojorono/core-gateaway/tree/master/backend-wms"
click node_md "https://github.com/nojorono/core-gateaway/tree/master/backend-md"
click node_ryo "https://github.com/nojorono/core-gateaway/tree/master/backend-ryo"
click node_meta "https://github.com/nojorono/core-gateaway/tree/master/service-meta"

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_kong,node_client toneBlue
class node_wms,node_md,node_ryo,node_meta toneAmber
class node_auth toneIndigo
```

## Components

### API Gateway

- [Kong Gateway](https://github.com/nojorono/core-gateaway/blob/master/kong.yml): `kong.yml`

### Backend Services

- [Warehouse Management](https://github.com/nojorono/core-gateaway/tree/master/backend-wms): `backend-wms`
- [Marketing Dashboard](https://github.com/nojorono/core-gateaway/tree/master/backend-md): `backend-md`
- [Retailer Yield Optimization](https://github.com/nojorono/core-gateaway/tree/master/backend-ryo): `backend-ryo`
- [Master Data Service](https://github.com/nojorono/core-gateaway/tree/master/service-meta): `service-meta`

### Other components

- **API Client**
- **JWT Plugin**

## Connections

- API Client → Kong Gateway: sends requests
- Kong Gateway → Warehouse Management: routes requests
- Kong Gateway → Marketing Dashboard: routes requests
- Kong Gateway → Retailer Yield Optimization: routes requests
- Kong Gateway → Master Data Service: routes requests
- Kong Gateway → JWT Plugin: may invoke
