keisei1092 / VocaloidAnnualBestTen

0 stars 0 forks source link

Specifications #1

Open keisei1092 opened 7 years ago

keisei1092 commented 7 years ago

Server

YouTubemp3のAPIを叩いて1分間再生のURLたちのjsonを返すAPIを作る

Models

Selection

name type
id Int
songs [Song] has_many。 10個限定。必須。
liked_users [User] has_many
play_count Int ゼロスタート
created_at
updated_at

Song

belongs_to Selection

name type
id Int
title String
original_url String
thumbnail_url String
short_url String
long_url String
liked_users [User] has_many
created_at
updated_at

User

name type
id Int
name String
screen_name String
avatar_url String
selections [Int] has_many
liked_selections [Int] has_many
liked_songs [Int] has_many
created_at
updated_at

Endpoints

Client

react-bootstrapとreact-soundでバーッと

keisei1092 commented 7 years ago

ユーザーにアイコンurlひつよう

keisei1092 commented 7 years ago

botをしかけて追加されたら僕のアカからつぶやく