Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
362 commits
Select commit Hold shift + click to select a range
20b3d54
Merge pull request #175 from boostcampwm-2024/feature-fe-#5-chat_socket
spearStr Nov 21, 2024
b2ad15f
Merge pull request #176 from boostcampwm-2024/dev-fe
jsk3342 Nov 21, 2024
941e191
fix: ์ฃผ์†Œ ์ˆ˜์ •
spearStr Nov 21, 2024
62188c5
Delete nginx/conf.d/chat.conf
hoeeeeeh Nov 21, 2024
9eafb48
Update default.conf
hoeeeeeh Nov 21, 2024
2bd1093
Update default.conf
hoeeeeeh Nov 21, 2024
2f81c66
Update ssl.conf
hoeeeeeh Nov 21, 2024
d087128
Update ssl.conf
hoeeeeeh Nov 21, 2024
0236a70
Update ssl.conf
hoeeeeeh Nov 21, 2024
1794426
Update ssl.conf
hoeeeeeh Nov 21, 2024
47ed4ee
Update ssl.conf
hoeeeeeh Nov 21, 2024
ecd0c0f
fix: ๋ฐฐํฌํ™˜๊ฒฝ์—์„œ์˜ socket์—ฐ๊ฒฐ ์ˆ˜์ •
spearStr Nov 21, 2024
6ef1653
Merge branch 'prod-fe' of https://github.com/boostcampwm-2024/web22-Lโ€ฆ
spearStr Nov 21, 2024
7f66f14
feat: host ํŽ˜์ด์ง€ id ๋Œ€์‘
jsk3342 Nov 21, 2024
c0f9d48
feat: clientPage์— header์ถ”๊ฐ€
spearStr Nov 21, 2024
bacb5f4
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 21, 2024
a58cefb
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 21, 2024
ec0c523
Merge pull request #179 from boostcampwm-2024/feature-FE-#178-Host_adโ€ฆ
spearStr Nov 21, 2024
eb6d6ad
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 21, 2024
579842b
Revert "[FEAT] host ํŽ˜์ด์ง€ id ๋ผ์šฐํŒ… ์ถ”๊ฐ€"
jsk3342 Nov 21, 2024
c6d3a27
Merge pull request #180 from boostcampwm-2024/revert-179-feature-FE-#โ€ฆ
jsk3342 Nov 21, 2024
8125463
Merge pull request #181 from boostcampwm-2024/dev-fe
jsk3342 Nov 21, 2024
63d4d5e
fix: ํ˜ธ์ŠคํŠธ ํŽ˜์ด์ง€์—์„œ ์ฑ„ํŒ…๋ฐฉ ์ž…์žฅ์„์œ„ํ•œ sessionKey ์ดˆ๊ธฐํ™” ์ถ”๊ฐ€
gominzip Nov 21, 2024
7902fdf
Merge pull request #185 from boostcampwm-2024/dev-fe
gominzip Nov 21, 2024
6bd563b
fix: ์งˆ๋ฌธ ์‘๋‹ต roomId value ์ˆ˜์ •
gominzip Nov 21, 2024
ba9fbb9
feat: keyDown์„ ํ†ตํ•œ ์ฑ„ํŒ… ์ „์†ก ์ถ”๊ฐ€
gominzip Nov 21, 2024
69ac8ef
fix: ์—”ํ„ฐํ‚ค ํ•œ๊ธ€ ์ค‘๋ณต ์ „์†ก ๋ฐ roomId ์ด์Šˆ ํ•ด๊ฒฐ
gominzip Nov 21, 2024
26d78b4
fix: roomId ์ด์Šˆ ํ•ด๊ฒฐ
gominzip Nov 21, 2024
cac6703
fix: ์„ธ์…˜ ํ‚ค ์ตœ์‹ ํ™”ํ•˜์—ฌ api ์š”์ฒญ
jsk3342 Nov 22, 2024
391d606
Merge pull request #187 from boostcampwm-2024/feature-FE-#186-Sessionโ€ฆ
spearStr Nov 22, 2024
e6686f9
refactor: ๋ถˆํ•„์š”ํ•œ ์ฑ„ํŒ…๋ฐฉ ๋ฆฌ๋ Œ๋”๋ง ๊ฐœ์„ 
gominzip Nov 23, 2024
02ee86d
Update fe.build.yaml
hoeeeeeh Nov 23, 2024
e961f6f
chore: test ์„œ๋ฒ„๋กœ ์ˆ˜์ •
hoeeeeeh Nov 23, 2024
2f27d61
Update prod-fe-docker.yml
hoeeeeeh Nov 23, 2024
ff491ce
Merge pull request #188 from boostcampwm-2024/refactor-fe-#7-chat
gominzip Nov 25, 2024
7dbcbad
feat: usePlayer ๊ตฌํ˜„
jsk3342 Nov 25, 2024
acea9a4
feat: host usePlayer ์ ์šฉ
jsk3342 Nov 25, 2024
545a1ae
fix: ์ปดํฌ๋„ŒํŠธ ๋ช… ๋ณ€๊ฒฝ
jsk3342 Nov 25, 2024
89a26f8
fix: ts ํ™•์žฅ์ž ๋ณ€๊ฒฝ
jsk3342 Nov 25, 2024
9ac4d10
feat: ํด๋ผ์ด์–ธํŠธ player ์ ์šฉ
jsk3342 Nov 25, 2024
3a4c7e2
fix: ํ—ค๋” ๋ ˆ์ด์•„์›ƒ ๋งž์ถค
jsk3342 Nov 25, 2024
6981cba
feat: ๋ฉ€ํ‹ฐ ํ”Œ๋ ˆ์ด์–ด ํ›… ๊ตฌํ˜„
jsk3342 Nov 25, 2024
e86dcd1
feat: useRotatingPlayer๋กœ ๊ต์ฒด
jsk3342 Nov 25, 2024
13313c4
feat: List ๊ตฌํ˜„
jsk3342 Nov 25, 2024
0c7c36c
fix: videocard์—์„œ ์–ผ๊ตด ๋†’์ด ๋งž์ถ”๊ธฐ
spearStr Nov 26, 2024
7455838
feat: shared worker์˜ ์ฑ„ํŒ… ์†Œ์ผ“ ์Šคํฌ๋ฆฝํŠธ ๊ตฌํ˜„
gominzip Nov 26, 2024
6877797
feat: replay page
spearStr Nov 26, 2024
ab9fa60
feat: ์›Œ์ปค์ƒ์„ฑ ๋ฐ ์ด๋ฒคํŠธ ๋“ฑ๋ก์— ๋Œ€ํ•œ ์ฑ„ํŒ… ๋กœ์ง ์ปค์Šคํ…€ ํ›…์œผ๋กœ ๋ถ„๋ฆฌ
gominzip Nov 26, 2024
e17397d
feat: ์›Œ์ปค๋กœ ๊ธฐ์กด ๋กœ์ง ์ˆ˜์ • ๋ฐ ํ˜ธ์ŠคํŠธ์™€ ํด๋ผ์ด์–ธํŠธ๋กœ ์ค‘๋ณต๋˜์—ˆ๋˜ ์ฑ„ํŒ… ๋กœ์ง ์žฌ์‚ฌ์šฉ
gominzip Nov 26, 2024
521878b
chore: ๋ถˆํ•„์š”ํ•œ ํŒŒ์ผ ์ œ๊ฑฐ ๋ฐ import๋ฌธ ์ˆ˜์ •
gominzip Nov 26, 2024
41cbc81
feat: ๋ฉ”์ธ video ์˜์—ญ ๊ตฌํ˜„
jsk3342 Nov 26, 2024
8d3ec68
Merge pull request #200 from boostcampwm-2024/feature-FE-#196-video_cโ€ฆ
spearStr Nov 26, 2024
b5e105f
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 26, 2024
c1d093f
fix: worker ์Šคํฌ๋ฆฝํŠธ ์ƒ๋Œ€๊ฒฝ๋กœ import๋กœ ์ˆ˜์ •
gominzip Nov 26, 2024
4014398
Merge pull request #201 from boostcampwm-2024/feature-fe-#189-chat
gominzip Nov 26, 2024
679a6db
feat: ๋งˆ์šฐ์Šค ํ˜ธ๋ฒ„ ์‹œ ํ”Œ๋ ˆ์ด์–ด ์žฌ์ƒ
jsk3342 Nov 26, 2024
a05cf74
Merge pull request #202 from boostcampwm-2024/feature-FE-#19-Mouse_ovโ€ฆ
spearStr Nov 26, 2024
85c8c7d
feat: ๋‹ค์‹œ๋ณด๊ธฐ ํŽ˜์ด์ง€
spearStr Nov 26, 2024
33754c1
fix: ํ”„๋กœํ•„ ์ฐŒ๊ทธ๋Ÿฌ์ง€์ง€ ์•Š๊ฒŒ ์ˆ˜์ •
spearStr Nov 26, 2024
048be46
fix: context provider ์ถ”๊ฐ€
gominzip Nov 26, 2024
0ef2829
feat: ์ฑ„ํŒ… ์ตœ์‹  ์ฑ„ํŒ… ์˜คํ† ์Šคํฌ๋กค ๋ฒ„ํŠผ ๊ตฌํ˜„
gominzip Nov 26, 2024
ba6ed71
feat: ๋ฐ”๋€ API ํƒ€์ž… ์ ์šฉ
spearStr Nov 26, 2024
83e88c1
feat: ๋”๋ณด๊ธฐ ๋ฐ ์ ‘๊ธฐ ๊ตฌํ˜„
spearStr Nov 26, 2024
e19fa1b
Merge pull request #205 from boostcampwm-2024/feature-fe-#58-chat
gominzip Nov 26, 2024
104a959
fix: date type ์ˆ˜์ •
spearStr Nov 26, 2024
7899058
fix: ์ฃผ์†Œ ์ˆ˜์ •
spearStr Nov 26, 2024
ba62dbe
feat: ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ
spearStr Nov 26, 2024
c82b374
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 26, 2024
0b0d57a
design: ์„œ๋น„์Šค๋ฐฐ๋„ˆ gradient ๊ฐ’ ์ˆ˜์ •
gominzip Nov 26, 2024
a6fbc89
Merge pull request #212 from boostcampwm-2024/feature-fe-banner
jsk3342 Nov 26, 2024
b21e004
fix: ์ฝ”๋“œ๋ฆฌ๋ทฐ ๋ฐ˜์˜
spearStr Nov 26, 2024
572040a
Merge pull request #208 from boostcampwm-2024/feature-fe-#195-replay_โ€ฆ
jsk3342 Nov 26, 2024
106f5fb
fix: ์˜คํƒ€ ์ˆ˜์ •
spearStr Nov 26, 2024
dee49b6
feat: elaspedTime ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ๋กœ ๋ Œ๋”๋ง ์ตœ์ ํ™”
spearStr Nov 26, 2024
e222681
refactor: ์ค‘๋ณต๋˜๋Š” room visible state ์œ„์น˜ ๋ณ€๊ฒฝ
gominzip Nov 26, 2024
8039f58
refactor: ๋ถˆํ•„์š”ํ•œ props drilling ์ œ๊ฑฐ
gominzip Nov 26, 2024
33d9d17
fix: ์ฃผ์„ ์ œ๊ฑฐ
spearStr Nov 26, 2024
e4d59ec
fix: ์•ˆ์“ฐ๋Š” ๋ณ€์ˆ˜ ์ œ๊ฑฐ
spearStr Nov 26, 2024
9b07001
fix: ์•ˆ์“ฐ๋Š” ๋ณ€์ˆ˜, console ์ œ๊ฑฐ
spearStr Nov 26, 2024
46d2708
design: ์˜คํ† ์Šคํฌ๋กค ๋ฒ„ํŠผ ์ƒ‰์ƒ ๋ณ€๊ฒฝ
gominzip Nov 26, 2024
775b00e
Merge pull request #214 from boostcampwm-2024/feature-fe-#213-refactoโ€ฆ
gominzip Nov 26, 2024
14191fe
Merge pull request #215 from boostcampwm-2024/dev-fe
jsk3342 Nov 26, 2024
8c3e356
chore: add ts-pattern
jsk3342 Nov 27, 2024
f94e91c
feat: suspense ๊ธฐ๋Šฅ
spearStr Nov 27, 2024
bb5a00f
feat: ์ฑ„ํŒ… ์„œ๋ฒ„ ๋ณ€๊ฒฝ ์‚ฌํ•ญ ๋ฐ˜์˜ ๋ฐ ํ˜ธ์ŠคํŠธ ์ฑ„ํŒ… ํ•˜์ด๋ผ์ดํŠธ ์ถ”๊ฐ€
gominzip Nov 27, 2024
3c822fb
Merge branch 'dev-fe' into feature-fe-#206-chat
gominzip Nov 27, 2024
05f3820
fix: import๋ฌธ ์ค‘๋ณต ์ œ๊ฑฐ
gominzip Nov 27, 2024
7b3349e
Merge pull request #219 from boostcampwm-2024/feature-fe-#206-chat
gominzip Nov 27, 2024
72c9e94
Merge pull request #220 from boostcampwm-2024/dev-fe
gominzip Nov 27, 2024
4a3a29b
fix: ์ฑ„ํŒ… css ์ˆ˜์ •
gominzip Nov 27, 2024
2923655
feat: ์˜คํ†  ์Šคํฌ๋กค ๋ฒ„ํŠผ ์œ ์ € ์—ญํ• ์— ๋”ฐ๋ฅธ ์•„์ด์ฝ˜ ์ถ”๊ฐ€
gominzip Nov 27, 2024
fcfacf7
feat: main๋žœ๋ค๋ผ์ด๋ธŒ์˜์ƒ skeleton ์ถ”๊ฐ€
spearStr Nov 27, 2024
94a0678
feat: asyncboundary ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„
spearStr Nov 27, 2024
43646eb
feat: ์งˆ๋ฌธ ์ฑ„ํŒ… ์„น์…˜ ๋””์ž์ธ ๊ฐœ์„  ๋ฐ ์˜คํ† ์Šคํฌ๋กค ์œ ํ˜•๋ณ„ ์ฒ˜๋ฆฌ ์ถ”๊ฐ€
gominzip Nov 27, 2024
0e0039b
fix: ์ˆ˜ํ‰ ์ •๋ ฌ ์ถ”๊ฐ€
gominzip Nov 27, 2024
0da2561
Merge pull request #224 from boostcampwm-2024/feature-fe-#206-chat
spearStr Nov 27, 2024
955026b
Merge pull request #225 from boostcampwm-2024/dev-fe
gominzip Nov 27, 2024
9a06fc9
feat: error, isLoading ๋ถˆํ•„์š”ํ•œ ์ฝ”๋“œ ์ œ๊ฑฐ
spearStr Nov 27, 2024
d5667e4
"chore: ๊ฒฝ๋กœ ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
d870df1
"feat: ์œ ํ‹ธํ•จ์ˆ˜ ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
420e82e
"feat: ํ”„๋กœ๊ทธ๋ž˜์Šค๋ฐ” ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
9264963
"feat: ๋น„๋””์˜ค ํƒ€์ž… ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
86d308d
"feat: ํ”Œ๋ ˆ์ด์–ด ์ƒํƒœ ๋ฆฌ๋“€์„œ ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
006e562
"feat: ์ปจํŠธ๋กค ํŒจ๋„ ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
f5e5a06
"feat: ์ •๋ณด ์˜ค๋ฒ„๋ ˆ์ด ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
40c75c9
"feat: ํ”Œ๋ ˆ์ด์–ด ์‚ฌ์šฉํ•  ์ปค์Šคํ…€ ํ›… ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
42ce2ad
"feat: ํ”Œ๋ ˆ์ด์–ด ์ปจํ…Œ์ด๋„ˆ ์ข…ํ•ฉ ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
320253d
"feat: ํ”Œ๋ ˆ์ด์–ด ์ปจํ…์ŠคํŠธ ๊ตฌํ˜„"
jsk3342 Nov 27, 2024
1802677
"feat: ๋‹ค์–‘ํ•œ ๊ตฌํ˜„ ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
661e72f
"fix: mute ์•ก์…˜ ์ถ”๊ฐ€"
jsk3342 Nov 27, 2024
c436715
"fix: ๋™์˜์ƒ ๋‚ด๋ถ€์—์„œ๋งŒ ์ปจํŠธ๋กค ํŒจ๋„ ๋“ฑ์žฅ"
jsk3342 Nov 27, 2024
2e82309
"fix: ๋ฆฐํŠธ ์—๋Ÿฌ ์ฒ˜๋ฆฌ"
jsk3342 Nov 28, 2024
bc86b7f
Merge branch 'dev-fe' into feature-FE-#204-player_custom
jsk3342 Nov 28, 2024
3e401ef
Merge pull request #226 from boostcampwm-2024/feature-FE-#204-player_โ€ฆ
spearStr Nov 28, 2024
df04ac7
Merge branch 'prod-fe' of https://github.com/boostcampwm-2024/web22-Lโ€ฆ
spearStr Nov 28, 2024
0f8d8e6
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
b0b5725
fix: ์œˆ๋„์šฐ์—์„œ์˜ css ์ถฉ๋Œ ์ด์Šˆ ํ•ด๊ฒฐ
gominzip Nov 28, 2024
d1b3c96
feat: recommendLive skeleton
spearStr Nov 28, 2024
a106d70
fix: ์นดํ…Œ๊ณ ๋ฆฌ ์—†์„ ๊ฒฝ์šฐ ๋””์ž์ธ ์œ ์ง€
jsk3342 Nov 28, 2024
705a766
"feat: ์ƒ์ˆ˜ ๋ถ„๋ฆฌ"
jsk3342 Nov 28, 2024
b698fbc
"fix: ๋””์ž์ธ ๋””ํ…Œ์ผ ์ถ”๊ฐ€"
jsk3342 Nov 28, 2024
3f4a074
feat: error ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„
spearStr Nov 28, 2024
baaf089
chore: yarn.lock ์ˆ˜์ •
spearStr Nov 28, 2024
234f83c
"fix: ์˜์ƒ ์‚ฌ์ด์ฆˆ ์กฐ์ •"
jsk3342 Nov 28, 2024
bc6c93d
fix: lint์— ๋งž๊ฒŒ ์ˆ˜์ •
spearStr Nov 28, 2024
89d84bc
chore: ์ฃผ์„ ์ถ”๊ฐ€
spearStr Nov 28, 2024
2855be0
refactor: ๋น„์ œ์–ด ์ปดํฌ๋„ŒํŠธ๋กœ ๋ฐฉ์†ก์‹œ๊ฐ„ ๋ฆฌ๋ Œ๋”๋ง ์ตœ์ ํ™”
gominzip Nov 28, 2024
17196e8
feat: ์ปค์Šคํ…€ํ›… ์ดˆ๊ธฐ๊ฐ’ ๊ด€์‹ฌ์‚ฌ ๋ถ„๋ฆฌ
spearStr Nov 28, 2024
d836a4d
Merge pull request #232 from boostcampwm-2024/feature-fe-#216-suspensโ€ฆ
jsk3342 Nov 28, 2024
490b4d5
feat: useRef๋กœ ์งˆ๋ฌธ ์นด๋“œ ์‹œ๊ฐ„ ์—…๋ฐ์ดํŠธ ๊ตฌํ˜„
gominzip Nov 28, 2024
9ecbfa0
feat: ์•ˆ์“ฐ๋Š” ๋ผ์šฐํ„ฐ ์ œ๊ฑฐ ๋ฐ ์—๋ŸฌํŽ˜์ด์ง€ ์ถ”๊ฐ€
spearStr Nov 28, 2024
7cf1b5c
"fix: ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ"
jsk3342 Nov 28, 2024
9d9c3b0
fix: ์ธํ’‹์ฐฝ ์‚ฌ์ด์ฆˆ ์กฐ์ ˆ css ์ˆ˜์ •
gominzip Nov 28, 2024
a7063ce
"design: ์ž์—ฐ์Šค๋Ÿฌ์šด ํŠธ๋ Œ์ง€์…˜ ์ ์šฉ"
jsk3342 Nov 28, 2024
375310c
feat: ๋‹ค์‹œ๋ณด๊ธฐ hover์‹œ ์˜์ƒ ์žฌ์ƒ
spearStr Nov 28, 2024
88f1ab3
fix: Date ํฌ๋งท ๋ฉ”์„œ๋“œ ์ˆ˜์ •
gominzip Nov 28, 2024
535bf3c
"design: ์ž์—ฐ์Šค๋Ÿฌ์šด ํƒ€์ดํ‹€ ์• ๋‹ˆ๋ฉ”์ด์…˜"
jsk3342 Nov 28, 2024
745d66e
refactor: ์ฑ„ํŒ…์ฐฝ ๋ Œ๋”๋ง ์ตœ์ ํ™” ์ง„ํ–‰
gominzip Nov 28, 2024
c58f5e8
Merge pull request #237 from boostcampwm-2024/feature-fe-#236-replay_โ€ฆ
jsk3342 Nov 28, 2024
7aa7519
Merge pull request #240 from boostcampwm-2024/feature-fe-#206-chat
jsk3342 Nov 28, 2024
5b71055
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
1c4cdd8
fix: ์ˆ˜์ •
jsk3342 Nov 28, 2024
04f0396
fix: ๋ฆฐํŠธ ์—๋Ÿฌ ์ˆ˜์ •
jsk3342 Nov 28, 2024
b502dd0
Merge pull request #239 from boostcampwm-2024/feature-FE-#228-main_plโ€ฆ
spearStr Nov 28, 2024
e8f92c9
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
3725643
fix: ๋น„๋””์˜คurl์ˆ˜์ •
spearStr Nov 28, 2024
cd65804
fix: lint์ˆ˜์ •
spearStr Nov 28, 2024
d065c54
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
8e16474
"fix: ํ˜ธ๋ฒ„ ํ…์ŠคํŠธ ๋ง์ค„์ž„ ์ฒ˜๋ฆฌ"
jsk3342 Nov 28, 2024
c1554db
"feat: ๋ณผ๋ฅจ ํ‚ค๋ณด๋“œ๋กœ ์กฐ์ž‘ ๋ฐ ๋กœ์ปฌ์— ์ €์žฅ"
jsk3342 Nov 28, 2024
1f4fb6f
"feat: ์˜์ƒ ์ „ํ™˜ ์‹œ ํŽ˜์ด๋“œ์ธ ์•„์›ƒ ์ ์šฉ"
jsk3342 Nov 28, 2024
4b91fa7
"fix: ํƒ€์ดํ‹€ ์˜์—ญ ํฌ๊ธฐ ๊ณ ์ •"
jsk3342 Nov 28, 2024
d93e16b
"fix: ๋„“์ด ๊ณ ์ •"
jsk3342 Nov 28, 2024
2a2dd55
Merge pull request #244 from boostcampwm-2024/feature-FE-#243-main_plโ€ฆ
spearStr Nov 28, 2024
9b196a9
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
9f32ed5
feat: chat_icon ์ถ”๊ฐ€
spearStr Nov 28, 2024
e1f361b
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Nov 28, 2024
7dc2428
Merge pull request #246 from boostcampwm-2024/dev-be
spearStr Nov 28, 2024
e32bfe5
Merge branch 'dev' into dev-fe
hoeeeeeh Nov 28, 2024
88aca02
Merge pull request #247 from boostcampwm-2024/dev-fe
hoeeeeeh Nov 28, 2024
4227cab
chore: dev ๋ณ‘ํ•ฉ
hoeeeeeh Nov 28, 2024
1cf5300
chore: dev ๋ณ‘ํ•ฉ
hoeeeeeh Nov 28, 2024
2eb1fbe
refactor: nginx 80 redirect, ssl
hoeeeeeh Nov 28, 2024
980c521
refactor: nginx 80 redirect, ssl
hoeeeeeh Nov 28, 2024
55ab95e
fix: ๊ฒ€์ƒ‰์ฐฝ ์ œ๊ฑฐ
spearStr Nov 30, 2024
8389eee
fix: ์ „์ฒด ์ œ๊ฑฐ
spearStr Nov 30, 2024
856d0e9
feat: ๋”๋ณด๊ธฐ, ์ ‘๊ธฐ grid๋ฐฉ์‹์œผ๋กœ ์ ์šฉ
spearStr Nov 30, 2024
4930f42
fix: grid height ์ˆ˜์ •
spearStr Nov 30, 2024
fee6be7
feat: ์—๋Ÿฌ ํŽ˜์ด์ง€
spearStr Nov 30, 2024
3f36874
feat: RecommendLive์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํ”Œ๋ ˆ์ด์–ด ์ƒํƒœ๋ฅผ ํ›…์œผ๋กœ ๊ตฌํ˜„ํ•˜์—ฌ ์ƒํƒœ ๊ด€์‹ฌ์‚ฌ ๋ถ„๋ฆฌ
jsk3342 Nov 30, 2024
a8e5d97
"fix: ๋ฏธ๋‹ˆํ”Œ๋ ˆ์ด์–ด memo ์ œ๊ฑฐ"
jsk3342 Nov 30, 2024
22d36fd
"fix: ์•ˆ์“ฐ๋Š” ๋ณ€์ˆ˜ ์‚ญ์ œ"
jsk3342 Nov 30, 2024
f2a7bab
feat: ์ž˜๋ชป๋œ ์ฃผ์†Œ์˜ id๋กœ ์ ‘๊ทผ์‹œ ์—๋Ÿฌ ์ปดํฌ๋„ŒํŠธ ๋ Œ๋”๋ง
spearStr Nov 30, 2024
f50e50c
"feat: ๋ฉ”์ธ ํ•˜๋‹จ ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๋ฐฑ๊ทธ๋ผ์šด๋“œ์—์„œ ์žฌ์ƒ๋˜๋Š” ์ด์Šˆ ํ•ด๊ฒฐ์„ ์œ„ํ•ด ํ›… ๊ตฌํ˜„"
jsk3342 Nov 30, 2024
d0f31c6
feat: ์„œ๋ฒ„์™€ ban ์ด๋ฒคํŠธ ์ถ”๊ฐ€ ์—ฐ๊ฒฐ
gominzip Nov 30, 2024
cf3ea05
feat: ์œ ์ € ์ •๋ณด ํŒ์—… ๋ฐ context state ์ถ”๊ฐ€
gominzip Nov 30, 2024
ba31e13
feat: hoc๋ฅผ ํ™œ์šฉํ•˜์—ฌ errorpage๋กœ navigate
spearStr Dec 1, 2024
db26c03
fix: exited -> existed๋กœ API ์ˆ˜์ •
spearStr Dec 1, 2024
8e6e22c
fix: console ์‚ญ์ œ
spearStr Dec 1, 2024
9abd73d
feat: ๋‹ค์‹œ๋ณด๊ธฐ ํŽ˜์ด์ง€์—๋„ ๊ฐ™์ด ์ ์šฉ
spearStr Dec 1, 2024
5d28b41
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Dec 1, 2024
4917abe
fix: lint ์ˆ˜์ •
spearStr Dec 1, 2024
644152e
fix: ๋งˆ์šฐ์Šค ์˜ค๋ฒ„ ํ›„ ์˜์ƒ ์ •์ง€๊ฐ€ ์•„๋‹Œ ์ดˆ๊ธฐํ™” ํ•˜์—ฌ ๋‹ค์Œ ์š”์ฒญ ์ฐจ๋‹จํ•˜๊ธฐ
jsk3342 Dec 2, 2024
a0146e2
fix: ํ”„๋ฆฌ๋ทฐ ํ”Œ๋ ˆ์ด์–ด ์ปค์Šคํ…€ ํ›… ๊ตฌํ˜„ ๋ฐ ์ ์šฉ
jsk3342 Dec 2, 2024
f742ffa
fix: ๋ฆฐํŠธ ์—๋Ÿฌ ์ˆ˜์ •
jsk3342 Dec 2, 2024
b01b96e
Merge pull request #263 from boostcampwm-2024/feature-FE-#248-Main_stโ€ฆ
spearStr Dec 2, 2024
0d451c8
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Dec 2, 2024
42e5d7a
Merge pull request #256 from boostcampwm-2024/feature-fe-#233-error_page
jsk3342 Dec 2, 2024
0d9979a
chore: ๋ถˆํ•„์š”ํ•œ ํŒŒ์ผ ์ œ๊ฑฐ
gominzip Dec 2, 2024
1c235b5
feat: Date ๋ฌธ์ž์—ด ํŒŒ์‹ฑ ์œ ํ‹ธ ํ•จ์ˆ˜ ๊ตฌํ˜„
gominzip Dec 2, 2024
f620ca2
feat: exception์— ๋Œ€ํ•œ ์ด๋ฒคํŠธ ์ •์˜ ์ถ”๊ฐ€ ๋ฐ ์˜ˆ์™ธ UI ๊ตฌํ˜„
gominzip Dec 2, 2024
e94d3d5
feat: ์œ ์ € ์ •๋ณด ํŒ์—… ๋””์ž์ธ ๊ฐœ์„  ๋ฐ ์กฐ๊ฑด ์ถ”๊ฐ€
gominzip Dec 2, 2024
be8e3be
feat: ConfirmModal ๊ตฌํ˜„
gominzip Dec 2, 2024
9184629
feat: ์‚ฌ์šฉ์ž ์ฐจ๋‹จ confirm ๊ณผ์ • ์ถ”๊ฐ€ ๊ตฌํ˜„
gominzip Dec 2, 2024
f51e8d3
chore: lint ํ•ด๊ฒฐ
gominzip Dec 2, 2024
a58b3b5
Merge pull request #266 from boostcampwm-2024/feature-fe-#249-chat_ban
gominzip Dec 2, 2024
a66c548
Merge pull request #267 from boostcampwm-2024/dev-fe
gominzip Dec 2, 2024
9365bd0
design: ์œ ์ € ๋‹‰๋„ค์ž„ ํ˜ธ๋ฒ„ ๋ฐ ์ปค์„œ ์ถ”๊ฐ€
gominzip Dec 2, 2024
87093d9
fix: player ์˜์ƒ ์ฃผ์†Œ ์ˆ˜์ •
spearStr Dec 2, 2024
5aa53d5
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Dec 2, 2024
474ee8c
Merge branch 'dev-fe' of https://github.com/boostcampwm-2024/web22-Liโ€ฆ
spearStr Dec 2, 2024
2d8ad06
Merge branch 'prod-fe' of https://github.com/boostcampwm-2024/web22-Lโ€ฆ
spearStr Dec 2, 2024
f12f819
feat: ์ฑ„ํŒ… ๊ทœ์น™ api ์ฟผ๋ฆฌํ›… ์ƒ์„ฑ ๋ฐ ์—ฐ๊ฒฐ
gominzip Dec 2, 2024
b22d74a
feat: ์งˆ๋ฌธ ๋‹‰๋„ค์ž„ ์„ ํƒ ์‹œ์—๋„ ํŒ์—… ๋œจ๋„๋ก ์„ธํŒ…
gominzip Dec 2, 2024
8855658
chore: ์ฑ„ํŒ…๊ทœ์น™ ์ดˆ๊ธฐ๊ฐ’ true๋กœ ๋ณ€๊ฒฝ
gominzip Dec 2, 2024
a75e50f
Merge pull request #274 from boostcampwm-2024/feature-fe-#249-chat_ban
gominzip Dec 2, 2024
db63848
Merge pull request #275 from boostcampwm-2024/dev-fe
gominzip Dec 2, 2024
84f2f68
Merge branch 'test-prod-fe' into prod-fe
hoeeeeeh Dec 2, 2024
f54be8e
fix: gridํฌ๊ธฐ ์ˆ˜์ •
spearStr Dec 2, 2024
d640193
Merge branch 'prod-fe' of https://github.com/boostcampwm-2024/web22-Lโ€ฆ
spearStr Dec 2, 2024
95bc81c
fix: lint ์ˆ˜์ •
spearStr Dec 2, 2024
d654978
chore: liboo.kr
hoeeeeeh Dec 2, 2024
c970248
Merge remote-tracking branch 'refs/remotes/origin/prod-fe' into prod-fe
hoeeeeeh Dec 2, 2024
151aeeb
chore: liboo.kr
hoeeeeeh Dec 2, 2024
955b2a2
style: ๋‹‰๋„ค์ž„๊ณผ ์ด๋ชจ์ง€ ๊ฐ„๊ฒฉ ์ถ”๊ฐ€
gominzip Dec 3, 2024
f58419f
refactor: ์ฑ„ํŒ…์ฐฝ ์ธํ’‹ ๋น„์ œ์–ด ์ปดํฌ๋„ŒํŠธ๋กœ ๊ฐœ์„ 
gominzip Dec 3, 2024
9495d48
fix: grid ๊ธธ์ด๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ปดํฌ๋„ŒํŠธ ๋ Œ๋”๋ง ๊ฐœ์ˆ˜ ์ •ํ•˜๊ธฐ
spearStr Dec 3, 2024
0120d41
Merge pull request #277 from boostcampwm-2024/feature-fe-#249-chat_ban
spearStr Dec 3, 2024
2814e76
Merge branch 'prod-fe' of https://github.com/boostcampwm-2024/web22-Lโ€ฆ
spearStr Dec 3, 2024
8da9db8
Update fe.build.yaml
hoeeeeeh Dec 3, 2024
d40c71b
chore: liboo.kr
hoeeeeeh Dec 3, 2024
92025e3
Merge branch 'prod-fe' into dev-fe
hoeeeeeh Dec 3, 2024
933d109
[type] ์˜คํƒ€ ์ˆ˜์ •
hoeeeeeh Dec 3, 2024
39c2b9c
fix: ๋”๋ณด๊ธฐ ๋ฒ„ํŠผ ์˜ค๋ฅ˜ ์ˆ˜์ •
spearStr Dec 3, 2024
efb7b0a
Update README.md
spearStr Dec 3, 2024
4957375
Update README.md
spearStr Dec 3, 2024
8853a6d
Update README.md
spearStr Dec 3, 2024
80c9612
Update README.md
spearStr Dec 3, 2024
bb83da5
Update README.md
spearStr Dec 3, 2024
466754b
Update README.md
jsk3342 Dec 3, 2024
f21ca57
Update README.md
jsk3342 Dec 3, 2024
d37e827
feat: mock๋ฐ์ดํ„ฐ ์ˆ˜์ •
spearStr Dec 3, 2024
65a4adc
Update README.md
gominzip Dec 3, 2024
041961c
docs: ๋ฆฌ๋“œ๋ฏธ ๊ตฌ์„ฑ ๋ฐ ํ‘œ๋กœ ์ˆ˜์ •
gominzip Dec 3, 2024
b3a6675
docs: ๊ธฐ์ˆ ์ •๋ฆฌ ๋ฌธ์žฅ ์ˆ˜์ •
gominzip Dec 3, 2024
7a2e835
Update README.md
spearStr Dec 4, 2024
8bf6737
Update README.md
gominzip Dec 4, 2024
62163d4
docs: ํ•ต์‹ฌ ๊ธฐ์ˆ  ์ •๋ฆฌ ์—…๋ฐ์ดํŠธ
gominzip Dec 4, 2024
d5417f0
docs: ๋ชฉ์ฐจ ์ˆ˜์ •
gominzip Dec 4, 2024
f25b062
Update README.md
gominzip Dec 4, 2024
d8d524d
feat: 404 ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋ฐ ์„ธ์…˜ํ‚ค๋กœ ๋ณ€๊ฒฝ
jsk3342 Dec 4, 2024
d9f2567
Update README.md
hoeeeeeh Dec 4, 2024
fb98ecc
Merge pull request #288 from boostcampwm-2024/feature-FE-##287-Host_uโ€ฆ
spearStr Dec 4, 2024
8c70cc4
Update README.md
hoeeeeeh Dec 4, 2024
8575471
fix: ํ”Œ๋ ˆ์ด์–ด ๋ฆฌํŠธ๋ผ์ด ๋ฐ ์‹œ๊ฐ„ ์ •๋ฆฌ
jsk3342 Dec 4, 2024
da5f390
docs: ๊ธฐ์ˆ  ์Šคํƒ ์ˆ˜์ •
gominzip Dec 5, 2024
0701f6b
Merge pull request #295 from boostcampwm-2024/feature-FE-##287-1-Hostโ€ฆ
gominzip Dec 30, 2024
51f7b1c
Merge pull request #294 from boostcampwm-2024/dev-be
hoeeeeeh Dec 30, 2024
2a583b7
Merge pull request #297 from boostcampwm-2024/dev-fe
gominzip Dec 30, 2024
077b363
Update README.md
hoeeeeeh Jan 13, 2025
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
56 changes: 56 additions & 0 deletions .github/workflows/prod-fe-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build and Push Docker Image

on:
push:
branches:
- prod-fe

jobs:
build:
name: Build, Test, and Push Docker Image
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies with Yarn
run: yarn install

- name: Build only backend package with Yarn
run: yarn build:fe

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
run: |
docker compose -f fe.build.yaml build --no-cache
docker compose -f fe.build.yaml push
env:
DOCKER_BUILDKIT: 1

- name: Execute deployment script on remote server
env:
SSH_PEM_KEY: ${{ secrets.SSH_PEM_KEY }}
SSH_USERNAME: ${{ secrets.SSH_USERNAME }}
SSH_PORT: ${{ secrets.SSH_PORT }}

run: |
mkdir -p ~/.ssh
echo "$SSH_PEM_KEY" > ~/.ssh/SSH_PEM_KEY.pem
chmod 600 ~/.ssh/SSH_PEM_KEY.pem
ssh -p $SSH_PORT -i ~/.ssh/SSH_PEM_KEY.pem -o StrictHostKeyChecking=no [email protected] 'cd prod && bash prod_fe.sh'


614 changes: 307 additions & 307 deletions .yarn/releases/yarn-4.5.1.cjs โ†’ .yarn/releases/yarn-4.5.3.cjs

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
nodeLinker: pnp

yarnPath: .yarn/releases/yarn-4.5.1.cjs

packageExtensions:
'@typescript-eslint/utils@*':
"@typescript-eslint/type-utils@*":
peerDependencies:
eslint: '*'
typescript: '*'
'@typescript-eslint/type-utils@*':
eslint: "*"
typescript: "*"
"@typescript-eslint/utils@*":
peerDependencies:
eslint: '*'
typescript: '*'
'typescript-eslint@*':
eslint: "*"
typescript: "*"
typescript-eslint@*:
peerDependencies:
eslint: '*'
eslint: "*"

yarnPath: .yarn/releases/yarn-4.5.3.cjs
190 changes: 112 additions & 78 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/chatServer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatServer",
"packageManager": "[email protected].1",
"packageManager": "[email protected].3",
"version": "0.0.1",
"description": "",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion backend/mainServer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mainServer",
"packageManager": "[email protected].1",
"packageManager": "[email protected].3",
"version": "0.0.1",
"description": "",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "backend",
"private": true,
"packageManager": "[email protected].1",
"packageManager": "[email protected].3",
"workspaces": [
"mainServer",
"rtmpServer",
Expand Down
2 changes: 1 addition & 1 deletion backend/rtmpServer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rtmpServer",
"private": true,
"packageManager": "[email protected].1",
"packageManager": "[email protected].3",
"dependencies": {
"@hoeeeeeh/node-media-server": "3.0.10",
"@types/node": "^22.9.0",
Expand Down
14 changes: 14 additions & 0 deletions fe.build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# docker-compose.yml
version: '3.8'

services:
nginx:
build:
context: nginx
dockerfile: dockerfile
image: liboost/nginx:latest
ports:
- "80:80"
- "443:443"
- "8000:8000"
- "1935:1935"
6 changes: 4 additions & 2 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ export default tseslint.config({ ignores: ['.*'] }, js.configs.recommended, ...t
],
'react/react-in-jsx-scope': 'off',
eqeqeq: ['error', 'always'],
indent: ['error', 2],
indent: ['error', 2, { SwitchCase: 1 }],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'@typescript-eslint/no-unused-vars': ['error']
'@typescript-eslint/no-unused-vars': ['error'],
'@typescript-eslint/no-explicit-any': 'off',
'react/prop-types': 'off'
},
settings: {
...reactRecommended.settings
Expand Down
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/pabicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LiBoo ๐Ÿš€</title>
</head>
Expand Down
7 changes: 7 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@
"@vitejs/plugin-react": "^4.3.3",
"axios": "^1.7.7",
"eslint-plugin-react": "^7.37.2",
"framer-motion": "^11.11.17",
"hls.js": "^1.5.17",
"lucide-react": "^0.461.0",
"nanoid": "^5.0.8",
"react": "^18.3.1",
"react-content-loader": "^7.0.2",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.1.2",
"react-hook-form": "^7.53.2",
"react-router-dom": "^6.27.0",
"socket.io-client": "^4.8.1",
"styled-components": "^6.1.13",
"ts-pattern": "^5.5.0",
"vite": "^5.4.10",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.0"
Expand Down
Binary file added frontend/public/pabicon.ico
Binary file not shown.
21 changes: 13 additions & 8 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import { ThemeProvider } from 'styled-components';

import { theme } from './styles/theme';
import { MainPage, ClientPage, HostPage } from './pages';
import { ClientPage, ErrorPage, HostPage, MainPage, ReplayPage } from './pages';
import { QueryClientProvider } from '@tanstack/react-query';
import { queryClient } from '@apis/index';
import withUserId from '@hocs/withUserId';

function App() {
function AppComponent() {
return (
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={theme}>
<Router>
<Router
future={{
v7_startTransition: true,
v7_relativeSplatPath: true
}}
>
<Routes>
<Route path="/" element={<MainPage />} />

<Route path="/live" element={<ClientPage />} />
<Route path="/live/:id" element={<ClientPage />} />

<Route path="/replay/:id" element={<ReplayPage />} />
<Route path="/host" element={<HostPage />} />
<Route path="/host/:id" element={<HostPage />} />
<Route path="*" element={<ErrorPage />} />
</Routes>
</Router>
</ThemeProvider>
</QueryClientProvider>
);
}

const App = withUserId(AppComponent);

export default App;
13 changes: 13 additions & 0 deletions frontend/src/apis/checkLiveExist.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { LiveExistenceResponse } from '@type/live';

export const checkLiveExist = async ({ liveId }: { liveId: string }): Promise<LiveExistenceResponse> => {
const response: AxiosResponse<LiveExistenceResponse> = await fetchInstance().get('/streams/existence', {
params: {
sessionKey: liveId
}
});

return response.data;
};
13 changes: 13 additions & 0 deletions frontend/src/apis/checkReplayExist.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { ReplayExistenceResponse } from '@type/replay';

export const checkReplayExist = async ({ videoId }: { videoId: string }): Promise<ReplayExistenceResponse> => {
const response: AxiosResponse<ReplayExistenceResponse> = await fetchInstance().get('/replay/existence', {
params: {
videoId
}
});

return response.data;
};
17 changes: 17 additions & 0 deletions frontend/src/apis/fetchBroadcastStatus.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { fetchInstance } from '.';

export type BroadcastStatusResponse = {
state: boolean;
};

export const fetchBroadcastStatus = async (sessionKey: string): Promise<BroadcastStatusResponse> => {
const response = await fetchInstance().get<BroadcastStatusResponse>('/host/state', {
params: {
sessionKey
}
});

return {
state: response.data.state
};
};
17 changes: 17 additions & 0 deletions frontend/src/apis/fetchChatRule.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';

export type ChatRuleResponse = {
notice: string;
channelName: string;
};

export const fetchChatRule = async ({ sessionKey }: { sessionKey: string }): Promise<ChatRuleResponse> => {
const response: AxiosResponse<ChatRuleResponse> = await fetchInstance().get('/streams/notice', {
params: {
sessionKey
}
});

return response.data;
};
18 changes: 18 additions & 0 deletions frontend/src/apis/fetchLive.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { ClientLiveResponse } from '@type/live';

export const fetchLive = async ({ liveId }: { liveId: string }): Promise<ClientLiveResponse> => {
try {
const response: AxiosResponse = await fetchInstance().get('/streams/live', {
params: { liveId }
});
return response.data;
} catch (error: any) {
if (error.response && error.response.status === 400) {
console.log('error', error);
throw error;
}
throw error;
}
};
13 changes: 13 additions & 0 deletions frontend/src/apis/fetchMainLive.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { MainLive } from '@type/live';

type MainLiveResponse = {
info: MainLive[];
};

export const fetchMainLive = async (): Promise<MainLive[]> => {
const response: AxiosResponse<MainLiveResponse> = await fetchInstance().get('/streams/random');

return response.data.info;
};
9 changes: 9 additions & 0 deletions frontend/src/apis/fetchRecentLive.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { RecentLiveResponse } from '@type/live';

export const fetchRecentLive = async (): Promise<RecentLiveResponse> => {
const response: AxiosResponse = await fetchInstance().get('/streams/latest');

return response.data;
};
9 changes: 9 additions & 0 deletions frontend/src/apis/fetchRecentReplay.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { RecentReplayResponse } from '@type/replay';

export const fetchRecentReplay = async (): Promise<RecentReplayResponse> => {
const response: AxiosResponse = await fetchInstance().get('/replay/latest');

return response.data;
};
20 changes: 20 additions & 0 deletions frontend/src/apis/fetchReplay.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { AxiosResponse } from 'axios';
import { fetchInstance } from '.';
import { ClientReplayResponse } from '@type/replay';

export const fetchReplay = async ({ videoId }: { videoId: string }): Promise<ClientReplayResponse> => {
try {
const response: AxiosResponse = await fetchInstance().get('/replay/video', {
params: {
videoId
}
});
return response.data;
} catch (error: any) {
if (error.response && error.response.status === 400) {
console.log('error', error);
throw error;
}
throw error;
}
};
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { AxiosResponse } from 'axios';
import { BASE_URL, fetchInstance } from '..';

type StreamKeyResponse = {
'stream-key': string;
'session-key': string;
};
import { fetchInstance } from '.';

type NanoId = string;

export type StreamKeyResponse = {
streamKey: string;
sessionKey: string;
};

export const fetchStreamKey = async (userId: NanoId): Promise<StreamKeyResponse> => {
const response: AxiosResponse<StreamKeyResponse> = await fetchInstance().post(`${BASE_URL}/host/key`, { userId });
const response: AxiosResponse<StreamKeyResponse> = await fetchInstance().post('/host/key', {
userId
});
return response.data;
};
Loading
Loading