Skip to content

Commit

Permalink
add domain model diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown authored Mar 27, 2024
1 parent 52d17e6 commit aec7620
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ App is reachable under [127.0.0.1:8000](http://127.0.0.1:8000)

`pipenv run ./src/manage.py runserver`

## Domain Model

![domain_model.puml](https://www.plantuml.com/plantuml/proxy?src=https://raw.github.com/djbrown/hbscorez/master/domain_model.puml&fmt=svg)


## Main Management Commands

- `import_associations`: Associations
Expand Down
17 changes: 17 additions & 0 deletions domain_model.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@startuml
Association }o..o{ Club
Association }o..o{ District
Club ||--o{ Team
District ||--o{ League
Season ||..o{ League
League ||--o{ Team
League ||--o{ Game
Team ||--o{ Game
Team ||--o{ Game
Team ||--o{ Player
Game }o--o| SportsHall
Game }o--o{ Player
Game ||--o{ Score
Player ||--o{ Score
Player }o--o| User
@enduml

0 comments on commit aec7620

Please sign in to comment.