Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,56 @@ sequenceDiagram


```
### Schema do banco de dados
```mermaid
erDiagram
users {
integer id PK
string username
string email
string password
}
news {
integer id PK
string title
string content
string category
string source_url
string social_media_url
string likes
datetime created_at
datetime updated_at
integer user_id FK
integer library_id FK

}
libraries {
integer id PK
string library_name
string releases_url
string logo
string fixed_release_url
string releases_urls_list
integer user_id FK
}
tags {
integer id PK
string name
}
Subscription {
integer id PK
string email
}
users ||--o{ news : publishes
users ||--o{ libraries : manages
news }o--|| libraries : relates_to

news }o--o{ tags : covers
Subscription }o--o{ libraries : follows
Subscription }o--o{ tags : tracks
```



## ⚙️ Como Rodar
[TBD]
Expand Down