Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6주차] Team 커피딜 송유선 & 최지원 미션 제출합니다. #14

Open
wants to merge 154 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
a013fe6
init: 개발 환경 세팅
jiwonnchoi Nov 7, 2024
ebd65f5
style: Global styles and font settings
jiwonnchoi Nov 7, 2024
dfa06fd
feat: install svgr webpack and icon setup, store color
jiwonnchoi Nov 7, 2024
5d90a5b
[Feat] Install svgr webpack & Icon setup, store color
jiwonnchoi Nov 7, 2024
03bb891
chore: Change folder structure
jiwonnchoi Nov 7, 2024
1c21bc3
chore: setup eslint, prettier
jiwonnchoi Nov 7, 2024
2a4cf67
[Chore] Change folder structure, Setup eslint, prettier
jiwonnchoi Nov 7, 2024
7dae2ba
feat: Footer ui
jiwonnchoi Nov 7, 2024
749708d
feat: landing logo
jiwonnchoi Nov 8, 2024
741c259
[Feat] Footer ui, Landing logo
jiwonnchoi Nov 8, 2024
9bf1674
Fix: font 문제 해결 -> cdn
s-uxun Nov 8, 2024
ce14972
chore: Move public folder and Setup absolute path
jiwonnchoi Nov 8, 2024
674c025
fix: fix absolute path
jiwonnchoi Nov 8, 2024
e1c505c
Feat: 절대 경로 설정
s-uxun Nov 8, 2024
c2bf247
fix: delete src path
jiwonnchoi Nov 8, 2024
c482a24
Merge pull request #4 from Onedwo-Punch/s-uxun
s-uxun Nov 8, 2024
f4be70d
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 8, 2024
8970c9c
Merge branch 'main' into jiwonnchoi
jiwonnchoi Nov 8, 2024
898c379
[Chore] move public folder and Setup absolute path
jiwonnchoi Nov 8, 2024
bb0b4e8
Fix: search page import path
s-uxun Nov 8, 2024
fcebfe3
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 8, 2024
8bd9a6f
feat: Search page ui
jiwonnchoi Nov 8, 2024
4773bbd
Feat: Header.tsx complete
s-uxun Nov 8, 2024
bcfbb10
feat: Search ui
jiwonnchoi Nov 8, 2024
99f59ac
Feat: make api folder & complete axios.ts
s-uxun Nov 8, 2024
3789e88
Merge pull request #6 from Onedwo-Punch/s-uxun
s-uxun Nov 8, 2024
1c0e6e1
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 8, 2024
108dc9b
Feat: complete category.ts
s-uxun Nov 8, 2024
96c2c27
feat: fix axios, setup rewrite path, add router in Footer
jiwonnchoi Nov 8, 2024
9169c13
Feat: fetch API (main page, get Movies, getAllMovies, getDetails)
s-uxun Nov 8, 2024
add2e38
Merge pull request #7 from Onedwo-Punch/s-uxun
s-uxun Nov 8, 2024
d24a799
feat: fix config.ts
jiwonnchoi Nov 8, 2024
b92bbc7
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 8, 2024
1bb0ebc
Design: change globalstyle (text->white)
s-uxun Nov 8, 2024
6da1bff
Feat: make simple buttons
s-uxun Nov 8, 2024
cc91500
fix: apply rewrite in search
jiwonnchoi Nov 9, 2024
900d918
Design: Optimize icon design code
s-uxun Nov 9, 2024
782ccac
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
s-uxun Nov 9, 2024
491dc4c
Merge pull request #8 from Onedwo-Punch/jiwonnchoi
s-uxun Nov 9, 2024
2dbf6a8
Merge branch 'main' into s-uxun
s-uxun Nov 9, 2024
2122c02
Merge pull request #9 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
8c7e884
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
s-uxun Nov 9, 2024
929bb80
Fix: errors after merge
s-uxun Nov 9, 2024
0dc2dad
Merge pull request #10 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
d3529b2
Feat: Rendering CircleList.tsx & modifying design
s-uxun Nov 9, 2024
9120f56
feat: call api with search query and setup default api
jiwonnchoi Nov 9, 2024
1dabbd5
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 9, 2024
7682e70
Design: complete CircleList
s-uxun Nov 9, 2024
3445318
Feat: complete SquareList
s-uxun Nov 9, 2024
8854637
Feat: Complete BigSquareList
s-uxun Nov 9, 2024
ad51253
Delete: types.ts -> MovieArray
s-uxun Nov 9, 2024
d42df56
Merge pull request #11 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
d22e6a7
Design: When hovered
s-uxun Nov 9, 2024
2823fa5
feat: complete search api
jiwonnchoi Nov 9, 2024
9dd0328
[Feat] complete search api logic
jiwonnchoi Nov 9, 2024
e3445b8
stlye: fix margin
jiwonnchoi Nov 9, 2024
b5d71e8
feat: seperate client component, add type
jiwonnchoi Nov 9, 2024
0e6cfb4
Merge branch 'main' into jiwonnchoi
jiwonnchoi Nov 9, 2024
8f2f0ad
[Feat] Seperate client component, add type
jiwonnchoi Nov 9, 2024
02902d5
fix: arrange duplicate code in SearchInput
jiwonnchoi Nov 9, 2024
48b2c94
Refactor: Change movie -> content, Add content type
s-uxun Nov 9, 2024
f12baf0
Feat: Render information on the detail page
s-uxun Nov 9, 2024
d4e7dea
feat: add debouncing logic
jiwonnchoi Nov 9, 2024
7a0b044
Feat: Connect detail page with Square & BigSquare components
s-uxun Nov 9, 2024
0ce41f9
feat: Footer memoization
jiwonnchoi Nov 9, 2024
d5be461
feat: SearchInput memoization
jiwonnchoi Nov 9, 2024
92057a8
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 9, 2024
cc92be1
[Feat] code optimization (input, footer)
jiwonnchoi Nov 9, 2024
a13667e
Design: Complete detail page
s-uxun Nov 9, 2024
f7bae77
Delete: Console
s-uxun Nov 9, 2024
98d9207
Chore: Move components directory
s-uxun Nov 9, 2024
052766d
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
s-uxun Nov 9, 2024
2fcecc0
Merge pull request #15 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
6fa60d6
Delete: type.ts -> MovieArray
s-uxun Nov 9, 2024
2e09b7e
Refactor: img -> Image
s-uxun Nov 9, 2024
395d011
Refactor: Image -> img
s-uxun Nov 9, 2024
691a42d
Merge branch 'main' into s-uxun
s-uxun Nov 9, 2024
a7ea846
Merge pull request #16 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
046b729
Fix: type of detail page
s-uxun Nov 9, 2024
44e2092
Merge pull request #17 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
416fcac
Fix: Type Error
s-uxun Nov 9, 2024
951b4e6
Merge pull request #18 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
d9efcf9
Fix: Params: any
s-uxun Nov 9, 2024
5960fb8
Merge pull request #19 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
ca7ebe9
Test: Type...
s-uxun Nov 9, 2024
6668f7e
Merge pull request #20 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
c7c1a8b
feat: route from search to detail
jiwonnchoi Nov 9, 2024
61b734a
[Feat] Route from search to detail
jiwonnchoi Nov 9, 2024
87d4317
Test: Type...
s-uxun Nov 9, 2024
8293ff0
Merge pull request #22 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
5e476bb
style: give height to Item title
jiwonnchoi Nov 9, 2024
d9bd6f8
Test: Type..
s-uxun Nov 9, 2024
ba20a88
Merge pull request #23 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
4d1963f
Feat: Add ts rules
s-uxun Nov 9, 2024
be99bcc
Merge pull request #24 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
04a10e5
style: fix hover in Item
jiwonnchoi Nov 9, 2024
71f3382
Merge branch 'main' into jiwonnchoi
jiwonnchoi Nov 9, 2024
1ed8f0c
[Style] give height to Item title, fix hover
jiwonnchoi Nov 9, 2024
e0845f0
Fix: fix type about undefined
jiwonnchoi Nov 9, 2024
ea18209
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
jiwonnchoi Nov 9, 2024
3a2ee57
fix: add type as string
jiwonnchoi Nov 9, 2024
c182e7c
[Fix] fix type about undefined
jiwonnchoi Nov 9, 2024
bf29b04
style: change hover style
jiwonnchoi Nov 9, 2024
faa6d29
Merge pull request #27 from Onedwo-Punch/jiwonnchoi
jiwonnchoi Nov 9, 2024
7d27355
Docs: ReadME.md [송유선]
s-uxun Nov 9, 2024
33ef288
Merge branch 'main' of https://github.com/Onedwo-Punch/next-netflix-2…
s-uxun Nov 9, 2024
fd0d315
Merge pull request #28 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
9b72c1a
Fix: Modify api url
s-uxun Nov 9, 2024
51b493d
Merge pull request #29 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
d492549
Docs: ReadME.md [최지원]
jiwonnchoi Nov 9, 2024
2125131
Docs: ReadME.md [최지원]
jiwonnchoi Nov 9, 2024
126d7a4
Update README.md
jiwonnchoi Nov 9, 2024
d559284
Docs: Modify ReadME.md
s-uxun Nov 9, 2024
3061a92
Update README.md
jiwonnchoi Nov 9, 2024
db96c28
Merge branch 'main' into s-uxun
s-uxun Nov 9, 2024
b62bbf0
Merge pull request #31 from Onedwo-Punch/s-uxun
s-uxun Nov 9, 2024
d86bfaa
Fix: Typo
s-uxun Nov 10, 2024
f7844b8
Refactor: movie -> content
s-uxun Nov 11, 2024
3ff221a
Merge pull request #32 from Onedwo-Punch/s-uxun
s-uxun Nov 11, 2024
0f731ef
feat: implement infinite scroll in search page
jiwonnchoi Nov 15, 2024
4ac17e5
feat: resolve duplicate key in map
jiwonnchoi Nov 15, 2024
09d7490
chore: add annotation in SearchClient
jiwonnchoi Nov 15, 2024
cdcb689
feat: generate other pages
jiwonnchoi Nov 15, 2024
e34965d
fix: change router.push() into Link tag
jiwonnchoi Nov 15, 2024
3b06fe9
[Feat] comple infinite scroll, fix footer routing
jiwonnchoi Nov 15, 2024
4a152c1
Docs: Update README.md
jiwonnchoi Nov 15, 2024
da34e88
[Docs] Update README.md
jiwonnchoi Nov 15, 2024
dace20e
Update README.md
jiwonnchoi Nov 15, 2024
8ae49d5
Update README.md
jiwonnchoi Nov 15, 2024
666758f
feat: add metadata
jiwonnchoi Nov 15, 2024
75cf761
Fix: render Main page data using useQuery
jiwonnchoi Nov 15, 2024
23789d3
[Fix] render main page data using useQuery, [Feat] add metadata
jiwonnchoi Nov 15, 2024
b6efe24
Delete: react-query in main (API code exposed)
s-uxun Nov 16, 2024
308fda5
Delete: React-query in main (API code exposed)
s-uxun Nov 16, 2024
21a797d
Merge branch 's-uxun' of https://github.com/Onedwo-Punch/next-netflix…
s-uxun Nov 16, 2024
a5ce5b7
Merge branch 's-uxun' of https://github.com/Onedwo-Punch/next-netflix…
s-uxun Nov 16, 2024
ab60fb5
Feat: axios -> fetch (use revalidate)
s-uxun Nov 16, 2024
03fcc07
Merge branch 's-uxun' of https://github.com/Onedwo-Punch/next-netflix…
s-uxun Nov 16, 2024
d04279d
Refactor: getAllMovies -> getAllContents
s-uxun Nov 16, 2024
20da039
Delete: instance.ts
s-uxun Nov 16, 2024
81d1272
Feat: SkeletonItem
s-uxun Nov 16, 2024
506f343
Feat: Apply SkeletonItem to SearchClient
s-uxun Nov 16, 2024
e5bf347
Feat: Remove Suspense and handle lazy loading
s-uxun Nov 16, 2024
5180486
Feat: Modify metadata
s-uxun Nov 16, 2024
6d2e6db
Feat: Update next.config.ts with images.remotePatterns
s-uxun Nov 16, 2024
b0bb537
Feat: Update next.config.ts with images.remotePatterns
s-uxun Nov 16, 2024
4db64c3
Fix: Resolve conflict
s-uxun Nov 16, 2024
aa430f7
Refactor: img -> Iamge
s-uxun Nov 16, 2024
9a836af
Refactor: Optimize Main page code
s-uxun Nov 16, 2024
8a1d965
Replace { params: any } with { params: Promise<Params> } in Detail page
s-uxun Nov 16, 2024
c6f4aac
Delete: instance.ts & 'any' rules in eslintrc.json
s-uxun Nov 16, 2024
5d5b8b7
Merge pull request #36 from Onedwo-Punch/s-uxun
s-uxun Nov 16, 2024
fac1266
Docs: ReadME.md
s-uxun Nov 16, 2024
ba70151
Merge pull request #37 from Onedwo-Punch/s-uxun
s-uxun Nov 16, 2024
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
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["next/core-web-vitals", "next/typescript", "prettier"],
"parser": "@typescript-eslint/parser"
}
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# env files (can opt-in for commiting if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# env
.env
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"endOfLine": "auto"
}
335 changes: 291 additions & 44 deletions README.md

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'image.tmdb.org',
},
],
},

async rewrites() {
return [
{
source: '/api/searchDefault', // 검색어 입력 전 인기순 조회
destination: `${process.env.NEXT_PUBLIC_URL}/movie/top_rated?api_key=${process.env.NEXT_PUBLIC_API_KEY}&language=en-US`,
},
{
source: '/api/searchMovies', // 검색어 입력 후 결과 조회
destination: `${process.env.NEXT_PUBLIC_URL}/search/movie?api_key=${process.env.NEXT_PUBLIC_API_KEY}&include_adult=false&language=en-US`,
},
];
},
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/i,
use: ['@svgr/webpack'],
});
return config;
},
};

export default nextConfig;
Loading