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 cb3aac1
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 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 [Abstracted Providers]
session(Session) --- user(User)
user --- avatar(Avatar)
user --- relation(Relationship)
user --- score(Score)
score --- beatmap
Expand All @@ -98,26 +98,37 @@ flowchart TB
file[(File)]
memory[/Memory/]
end
trpc --- auth(Auth)
auth --- session
subgraph client [Nuxt Client]
auth(Client Session) -.- web
end
subgraph server [Nuxt Server]
backend
impl
end
A[Gamer] ---> |Browser| web[/Guccho Web/]
web -.- session
web ====> |superjson| backend
backend ====> |devalue| web
session ----- $base
log ----- $base
status ----- $base
trpc ==== backend
backend ====== impl
$base --- memory
$base --- redis
$base --- file
ppy.sb --- |customize| mysql
backend ====== |$active| impl
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 cb3aac1

Please sign in to comment.