Skip to content

Commit

Permalink
Add second example
Browse files Browse the repository at this point in the history
  • Loading branch information
spethso committed Oct 21, 2024
1 parent 44fefb5 commit 13f9f85
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vitepress/components/DiagramList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ onClickOutside(dialog, () => {
const diagrams: Record<string, () => Promise<any>> = {
"Hello world": () => import("../../diagrams/hello_world.yaml?raw"),
"Webshop Except Sample": () => import("../../diagrams/webshop-excerpt-sample.yaml?raw"),
}
async function openDiagram(name: string) {
Expand Down
68 changes: 68 additions & 0 deletions diagrams/webshop-excerpt-sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
Inventory:
name: Inventory Service
template: Microservice
interfaces:
inventory_GraphQL:
name: GraphQL
template: GraphQL
relations:
- to: Kubernetes
template: Hosted on
- to: InventoryDB
template: DB connection
- to: Apollo
template: Includes
InventoryDB:
name: InventoryDB
template: Database
Apollo:
name: Apollo
template: Library
ShoppingCart:
name: Shopping Cart Service
template: Microservice
interfaces:
shoppingCart_REST:
name: REST
template: REST
relations:
- to: inventory_GraphQL
template: Calls
- to: Kubernetes
template: Hosted on
Order:
name: Order Service
template: Microservice
interfaces:
order_REST:
name: REST
template: REST
relations:
- to: inventory_GraphQL
template: Calls
- to: Kubernetes
template: Hosted on
- to: ExpressJS
template: Includes
ExpressJS:
name: Express.js
template: Library
APIGateway:
name: API Gateway
template: Misc
relations:
- to: shoppingCart_REST
template: Calls
- to: inventory_GraphQL
template: Calls
- to: order_REST
template: Calls
Frontend:
name: Frontend
template: Frontend
relations:
- to: APIGateway
template: Calls
Kubernetes:
name: Kubernetes
template: Infrastructure

0 comments on commit 13f9f85

Please sign in to comment.