VideoClips
Веб-сервис сохранения ссылок на понравившиеся фрагменты из видео (YouTube)
how to run the app
-
run
scripts\server.ps1
-
powershell run:
$env:FLASK_APP="webapp"; $env:FLASK_ENV="development"; $env:FLASK_DEBUG=1; flask run
- cmd run:
set FLASK_APP=webapp&& set FLASK_ENV=development && set FLASK_DEBUG=1 && flask run
another actions
- script/bootstrap - installs/updates all dependencies
- script/update - updates a project to run at its current version
- script/server - starts app
database scheme 2021-07-11
erDiagram
ROLE {
int id
int name
}
USER {
int id
string username
string password
int role
string email
}
VIDEOCLIP {
int id
string link
string name
int authorID
int playlistID
}
PLAYLIST {
int id
string name
string comment
int authorID
bool ispublic
}
FAVORITE {
int id
int userID
int playlistID
}
USER ||--|| ROLE : "has one"
USER ||--|{ VIDEOCLIP : "put to playlist"
USER ||--|{ PLAYLIST : "has some"
PLAYLIST ||--|{ FAVORITE : "marked"
USER ||--|{ FAVORITE : "add"
PLAYLIST ||--|{ VIDEOCLIP : "contain"