Skip to content

Commit

Permalink
improve diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Jul 4, 2023
1 parent 54f491a commit 093090c
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ TODO Give first registered user owner privilege

see `src/app.config.ts`

## Diagram

```mermaid
flowchart TB
A[Gamer] --> |Browser| web[/Guccho Web/]
web --> |superjson| trpc(TRPC)
trpc --> |devalue| web
subgraph backend [Abstraction]
subgraph backend [Abstraction, TRPC Server]
session(Session) --- user(User)
user --- avatar(Avatar)
user --- relation(Relationship)
user --- score(Score)
score --- beatmap
Expand All @@ -98,26 +98,35 @@ flowchart TB
file[(File)]
memory[/Memory/]
end
trpc --- auth(Auth)
auth --- session
subgraph client [Nuxt Client]
auth(Client Session) -.- web -.- session
end
subgraph server [Nuxt Server]
backend
impl
end
web ----> |superjson| backend
backend ----> |devalue| web
A[Gamer] ---> |Browser| web[/Guccho Web/]
session ----- $base
log ----- $base
status ----- $base
trpc ==== backend
client ===== |HTTP transport| server
backend ====== impl
$base --- memory
$base --- redis
$base --- file
ppy.sb --- |customize| mysql
ppy.sb --- |additional tables| mysql
bancho.py --- gulag
bancho.py --- redis
bancho.py --- |api v1| gulag
bancho.py --- |leaderboard| redis
bancho.py --- mysql
$base --- |session| redis
$base --- |runtime, session| memory
$base --- |log| file
```

## The team (Guccho)
Expand Down

0 comments on commit 093090c

Please sign in to comment.