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주차] diaMEtes 미션 제출합니다. #14

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
0722d1d
[Set] create-next-app
seondal Nov 8, 2022
e7aa6c5
chore : 폴더 구조 변경
heeeesoo Nov 9, 2022
718b2ef
feat : footer 기능
heeeesoo Nov 10, 2022
26cb3e0
feat : footer에 router 추가
heeeesoo Nov 10, 2022
86f634d
test : home 페이지에 movie api 적용해보기
heeeesoo Nov 10, 2022
b6bd0be
feat : nowPlayingMovies api data 불러오기 테스트
heeeesoo Nov 11, 2022
e2b5931
feat : nowPlaying에 movie image 추가
heeeesoo Nov 11, 2022
cbe7100
feat : home 페이지에 top rated movie list 추가
heeeesoo Nov 11, 2022
d889118
feat : popular movie 홈페이지에 추가
heeeesoo Nov 11, 2022
eab70b3
chore : home 페이지 스타일 수정
heeeesoo Nov 11, 2022
1d51cca
feat : home 페이지 중간 바 추가
heeeesoo Nov 11, 2022
208ff67
feat : header 추가
heeeesoo Nov 11, 2022
88bc19d
fix : 화면 상단 맞추기
heeeesoo Nov 11, 2022
9d574c0
fix : 사진 배경으로 옮김
heeeesoo Nov 11, 2022
2af09da
Merge pull request #1 from diaFEtes/heeeesoo
heeeesoo Nov 11, 2022
52bf317
feat : get top rated movies
seondal Nov 11, 2022
b7750ac
feat : 검색페이지 -> 상세페이지 연결
seondal Nov 11, 2022
dd7bfa4
feat : 상세페이지 구현
seondal Nov 11, 2022
9d65c0c
refact : search 페이지 getServerSideProps()
seondal Nov 11, 2022
da0101b
refact : movies api
seondal Nov 11, 2022
137a270
refact : home 페이지 getServerSideProps 방식 변경
seondal Nov 11, 2022
8a14858
refact : 폴더 구조 변경 & fix : 푸터 새로고침시 스타일 적용 안되는 오류 수정
seondal Nov 11, 2022
b39d18b
del : 불필요한 import 삭제
seondal Nov 11, 2022
9e44cd5
del Layout.tsx
seondal Nov 11, 2022
a5f5075
fix : 로고 화면에서 푸터가 보이는 현상 제거
seondal Nov 11, 2022
86a466b
refact : styled-component 전부 삭제 -> <style jsx/> 형식으로 변경
seondal Nov 11, 2022
133e534
style : Layout style 설정
seondal Nov 11, 2022
ca96436
edit : footer styled-components 삭제
seondal Nov 11, 2022
190afad
Feat : 메인페이지 -> 영화 상세 페이지 연결
seondal Nov 11, 2022
15c6faa
set : api_key process.env 로 숨김
seondal Nov 11, 2022
13e1283
revert : @15c6faa
seondal Nov 11, 2022
5c6ed75
fix : logo 렌더링 lottie-web 적용
heeeesoo Nov 13, 2022
877da87
Merge pull request #6 from diaFEtes/Logo
seondal Nov 13, 2022
b23435d
feat : head 추가
heeeesoo Nov 16, 2022
82cf435
feat : 검색 기능 추가
heeeesoo Nov 16, 2022
0bbf76a
chore : searchList component 분리
heeeesoo Nov 16, 2022
cb3cb45
fix : search api 연결
heeeesoo Nov 16, 2022
2e45c7a
fix : recoil 삭제
heeeesoo Nov 16, 2022
596f1c8
chore : api 수정
heeeesoo Nov 16, 2022
e285cb5
fix : 실시간 검색 수정
heeeesoo Nov 16, 2022
0187f9c
Merge pull request #7 from diaFEtes/Logo
seondal Nov 16, 2022
de61848
[Docs] api.tsx 주석 추가
seondal Nov 16, 2022
123bb2b
style : footer 디자인 수정
seondal Nov 16, 2022
93b85cd
style : 영화 상세페이지 스타일 지정
seondal Nov 16, 2022
0c4be94
refact : FirstMovie 컴포넌트화
seondal Nov 16, 2022
9fe98ca
edit : getImage()로 교체
seondal Nov 16, 2022
6da53de
refact : LinkToMovieData 컴포넌트화
seondal Nov 16, 2022
168b387
fix : 리스트들에 key 추가
seondal Nov 17, 2022
74f2364
style : home 글자 여백 수정
seondal Nov 17, 2022
c7172f1
style : 자잘한 스타일 이슈 수정
seondal Nov 17, 2022
c358277
edit : 타입 any 제거
seondal Nov 17, 2022
d22c111
folder : component > layout 폴더정리 + 푸터 세세한 스타일 변경
seondal Nov 17, 2022
f49226c
style : searchList 스타일 적용
seondal Nov 17, 2022
0874412
style : input-box 스타일 적용
seondal Nov 17, 2022
d2ea807
feat : 기기 화면 크기에따라 화면 크기 변경
seondal Nov 17, 2022
294682a
fix : 오타수정
seondal Nov 17, 2022
308ddd5
Merge pull request #8 from diaFEtes/seondal
heeeesoo Nov 18, 2022
158c87b
fix : search에서 movie image null 에러 처리
heeeesoo Nov 18, 2022
1f66757
fix : footer에 버튼 누르면 font도 흰색으로 변하게
heeeesoo Nov 18, 2022
89cf90c
fix : margin 조정
heeeesoo Nov 18, 2022
456ee22
Merge pull request #9 from diaFEtes/test_hs
heeeesoo Nov 18, 2022
d4cf26b
fix : getScreenWidth 앞에 대문자로 변경(배포에러)
heeeesoo Nov 18, 2022
2396226
Merge pull request #10 from diaFEtes/test_hs
heeeesoo Nov 18, 2022
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
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

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

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
52 changes: 20 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,34 @@
# 5주차 미션: Next-Netflix
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## 서론
## Getting Started

안녕하세요, 프론트 파트장 주효정입니다🙌
First, run the development server:

이번주부터는 새 프로젝트인 **Netflix 클론코딩**을 진행합니다. 이번 미션은 Next.js를 사용해 보며 SSR을 학습하고 figma로 주어지는 디자인을 활용해 스타일링 하는 방법을 이해하는 것을 목표로 합니다.
```bash
npm run dev
# or
yarn dev
```

또한 이번주부터는 프론트 페어와 함께하는 과제인 만큼 각 팀별로 미리 호흡을 맞춰 보는 좋은 기회가 될 것 같습니다. 모두 화이팅입니다🔥
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## 미션
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

### 미션 목표
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

- Next.js 사용법을 공부해봅니다.
- Figma로 주어지는 디자인으로 스타일링 하는 방식에 익숙해집니다.
- Git을 이용한 협업 방식에 익숙해집니다.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

### 기한
## Learn More

- 2022년 11월 11일 (기한 엄수)
To learn more about Next.js, take a look at the following resources:

### 필수 요건
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

- [결과화면](https://next-netflix-16th.vercel.app/)의 렌딩 페이지(로고 애니메이션)와 메인 페이지를 구현합니다.
- [Figma](https://www.figma.com/file/UqdXDovIczt1Gl0IjknHQf/Netflix?node-id=0%3A1)의 디자인을 그대로 구현합니다.
- SSR(Server Side Rendering)을 적용해서 구현합니다.
- Open api를 사용해서 데이터 패칭을 진행합니다. (ex. [themoviedb API](https://developers.themoviedb.org/3/getting-started/introduction))
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

### 선택 사항
## Deploy on Vercel

- 웹 폰트를 사용합니다.
- 반응형을 고려합니다.
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

## Key Questions

- Server Side Rendering과 Client Side Rendering의 차이
- SEO란
- 전반적인 협업 과정

## 링크 및 참고자료

- [Next.js Docs](https://beta.nextjs.org/docs)
- [Next.js 13에서 변한 것들](https://velog.io/@hang_kem_0531/Next.js-13%EC%9D%B4-%EB%82%98%EC%99%80%EB%B2%84%EB%A0%B8%EB%8B%A4)
- [Git 협업 가이드](https://velog.io/@jinuku/Git-%ED%98%91%EC%97%85-%EA%B0%80%EC%9D%B4%EB%93%9C)
- [디자이너와 개발자가 협업하기 위한 피그마 기본 기능](https://chingguhl.tistory.com/entry/%EA%B0%9C%EB%B0%9C%EC%9E%90%EA%B0%80-%EA%BC%AD-%EC%95%8C%EC%95%84%EC%95%BC-%ED%95%A0-%ED%94%BC%EA%B7%B8%EB%A7%88-10%EA%B0%80%EC%A7%80-%EA%B8%B0%EB%8A%A5-%EB%94%94%EC%9E%90%EC%9D%B4%EB%84%88%EC%99%80-%EA%B0%9C%EB%B0%9C%EC%9E%90%EA%B0%80-%ED%98%91%EC%97%85%ED%95%98%EA%B8%B0-%EC%9C%84%ED%95%9C-%ED%94%BC%EA%B7%B8%EB%A7%88-%EA%B8%B0%EB%B3%B8-%EA%B8%B0%EB%8A%A5)
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
7 changes: 7 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
}

module.exports = nextConfig
Loading