added docker-compose.yml in root, added backend/README.md
This commit is contained in:
parent
7a5596a4a8
commit
b25d5cc0f4
2 changed files with 39 additions and 0 deletions
27
backend/README.md
Normal file
27
backend/README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
## Database Schema
|
||||
|
||||
```mermaid
|
||||
erDiagram
|
||||
user {
|
||||
string name PK
|
||||
}
|
||||
|
||||
game {
|
||||
serial game_id PK
|
||||
int score
|
||||
time playtime
|
||||
date date
|
||||
string username FK
|
||||
}
|
||||
|
||||
user ||--O{ game : "played"
|
||||
|
||||
user_data {
|
||||
string username PK
|
||||
int highscore
|
||||
int total_score
|
||||
int total_playtime
|
||||
int average_score
|
||||
int games_played
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue