Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zolotyh-dk/java-filmorate
Template repository for Filmorate project.
https://github.com/zolotyh-dk/java-filmorate
Last synced: 2 days ago
JSON representation
Template repository for Filmorate project.
- Host: GitHub
- URL: https://github.com/zolotyh-dk/java-filmorate
- Owner: zolotyh-dk
- Created: 2024-06-05T20:50:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T07:00:34.000Z (6 months ago)
- Last Synced: 2024-11-11T01:42:32.793Z (2 months ago)
- Language: Java
- Size: 313 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-filmorate
## Схема базы данных
![Схема базы данных](https://raw.githubusercontent.com/zolotyh-dk/java-filmorate/cf2765e/java-filmprate-er-diagram.png)## DMBL
```dmbl
Table users {
id bigint [primary key]
email varchar
login varchar
name varchar
birthday date
}Table films {
id bigint [primary key]
name varchar
description varchar
release_date date
duration integer
rating_id integer
}Table friendship {
user_id bigint
friend_id bigint
}Table likes {
user_id bigint
film_id bigint
}Table generes {
id integer
genre varchar
}Table ratings {
id integer
ratings varchar
}Table films_genres {
film_id bigint
genre_id integer
}Ref: users.id < friendship.user_id
Ref: users.id < friendship.friend_id
Ref: films.id < likes.film_id
Ref: users.id < likes.user_id
Ref: films.rating_id < ratings.id
Ref: films.id < films_genres.film_id
Ref: generes.id < films_genres.genre_id
```