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

Kdt5 lee chang hwi_6์กฐ #73

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
159 changes: 83 additions & 76 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
์ฃผ์–ด์ง„ API๋ฅผ ํ™œ์šฉํ•ด '[์™„์„ฑ ์˜ˆ์‹œ](https://stupefied-hodgkin-d9d350.netlify.app/)' ์ฒ˜๋Ÿผ ์ž์œ ๋กญ๊ฒŒ ์˜ํ™” ๊ฒ€์ƒ‰ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•ด๋ณด์„ธ์š”!
๊ณผ์ œ ์ˆ˜ํ–‰ ๋ฐ ๋ฆฌ๋ทฐ ๊ธฐ๊ฐ„์€ ๋ณ„๋„ ๊ณต์ง€๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”!

#

์™„์„ฑ์ฃผ์†Œ ๋งํฌ: https://hwi-moviesearch.netlify.app/

## ๊ณผ์ œ ์ˆ˜ํ–‰ ๋ฐ ์ œ์ถœ ๋ฐฉ๋ฒ•

```
Expand All @@ -22,26 +26,26 @@ KDT๊ธฐ์ˆ˜๋ฒˆํ˜ธ_์ด๋ฆ„ | E.g, KDT0_ParkYoungWoong

## ์š”๊ตฌ์‚ฌํ•ญ

ํ•„์ˆ˜ ์š”๊ตฌ์‚ฌํ•ญ์€ ๊ผญ ๋‹ฌ์„ฑํ•ด์•ผ ํ•˜๋Š” ๋ชฉํ‘œ๋กœ, ์ˆ˜์ •/์‚ญ์ œ๋Š” ๋ถˆ๊ฐ€ํ•˜๊ณ  ์ถ”๊ฐ€๋Š” ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
ํ•„์ˆ˜ ์š”๊ตฌ์‚ฌํ•ญ์€ ๊ผญ ๋‹ฌ์„ฑํ•ด์•ผ ํ•˜๋Š” ๋ชฉํ‘œ๋กœ, ์ˆ˜์ •/์‚ญ์ œ๋Š” ๋ถˆ๊ฐ€ํ•˜๊ณ  ์ถ”๊ฐ€๋Š” ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
์„ ํƒ ์š”๊ตฌ์‚ฌํ•ญ์€ ๋‹จ์ˆœ ์˜ˆ์‹œ๋กœ, ์ž์œ ๋กญ๊ฒŒ ์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œํ•ด์„œ ๊ตฌํ˜„ํ•ด๋ณด์„ธ์š”.
๊ฐ ์š”๊ตฌ์‚ฌํ•ญ์€ ๋‹ฌ์„ฑ ํ›„ ๋งˆํฌ๋‹ค์šด์—์„œ `- [x]`๋กœ ํ‘œ์‹œํ•˜์„ธ์š”.
๊ฐ ์š”๊ตฌ์‚ฌํ•ญ์€ ๋‹ฌ์„ฑ ํ›„ ๋งˆํฌ๋‹ค์šด์—์„œ `- [x]`๋กœ ํ‘œ์‹œํ•˜์„ธ์š”.

### โ— ํ•„์ˆ˜

- [ ] ์˜ํ™” ์ œ๋ชฉ์œผ๋กœ ๊ฒ€์ƒ‰์ด ๊ฐ€๋Šฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [ ] ๊ฒ€์ƒ‰๋œ ๊ฒฐ๊ณผ์˜ ์˜ํ™” ๋ชฉ๋ก์ด ์ถœ๋ ฅ๋ผ์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [ ] ๋‹จ์ผ ์˜ํ™”์˜ ์ƒ์„ธ์ •๋ณด(์ œ๋ชฉ, ๊ฐœ๋ด‰์—ฐ๋„, ํ‰์ , ์žฅ๋ฅด, ๊ฐ๋…, ๋ฐฐ์šฐ, ์ค„๊ฑฐ๋ฆฌ, ํฌ์Šคํ„ฐ ๋“ฑ)๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [ ] ์‹ค์ œ ์„œ๋น„์Šค๋กœ ๋ฐฐํฌํ•˜๊ณ  ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
- [x] ์˜ํ™” ์ œ๋ชฉ์œผ๋กœ ๊ฒ€์ƒ‰์ด ๊ฐ€๋Šฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [x] ๊ฒ€์ƒ‰๋œ ๊ฒฐ๊ณผ์˜ ์˜ํ™” ๋ชฉ๋ก์ด ์ถœ๋ ฅ๋ผ์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [x] ๋‹จ์ผ ์˜ํ™”์˜ ์ƒ์„ธ์ •๋ณด(์ œ๋ชฉ, ๊ฐœ๋ด‰์—ฐ๋„, ํ‰์ , ์žฅ๋ฅด, ๊ฐ๋…, ๋ฐฐ์šฐ, ์ค„๊ฑฐ๋ฆฌ, ํฌ์Šคํ„ฐ ๋“ฑ)๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค!
- [x] ์‹ค์ œ ์„œ๋น„์Šค๋กœ ๋ฐฐํฌํ•˜๊ณ  ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

### โ” ์„ ํƒ

- [ ] ํ•œ ๋ฒˆ์˜ ๊ฒ€์ƒ‰์œผ๋กœ ์˜ํ™” ๋ชฉ๋ก์ด 20๊ฐœ ์ด์ƒ ๊ฒ€์ƒ‰๋˜๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„๋กœ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™” ๋ชฉ๋ก์„ ๊ฒ€์ƒ‰ํ•˜๋Š” ๋™์•ˆ ๋กœ๋”ฉ ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ๋ณด์ด๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [x] ํ•œ ๋ฒˆ์˜ ๊ฒ€์ƒ‰์œผ๋กœ ์˜ํ™” ๋ชฉ๋ก์ด 20๊ฐœ ์ด์ƒ ๊ฒ€์ƒ‰๋˜๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [x] ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„๋กœ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [x] ์˜ํ™” ๋ชฉ๋ก์„ ๊ฒ€์ƒ‰ํ•˜๋Š” ๋™์•ˆ ๋กœ๋”ฉ ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ๋ณด์ด๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ๋ฌดํ•œ ์Šคํฌ๋กค ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•ด์„œ ์ถ”๊ฐ€ ์˜ํ™” ๋ชฉ๋ก์„ ๋ณผ ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™” ํฌ์Šคํ„ฐ๊ฐ€ ์—†์„ ๊ฒฝ์šฐ ๋Œ€์ฒด ์ด๋ฏธ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™” ์ƒ์„ธ์ •๋ณด๊ฐ€ ์ถœ๋ ฅ๋˜๊ธฐ ์ „์— ๋กœ๋”ฉ ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ๋ณด์ด๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™” ์ƒ์„ธ์ •๋ณด ํฌ์Šคํ„ฐ๋ฅผ ๊ณ ํ•ด์ƒ๋„๋กœ ์ถœ๋ ฅํ•ด๋ณด์„ธ์š”. (์‹ค์‹œ๊ฐ„ ์ด๋ฏธ์ง€ ๋ฆฌ์‚ฌ์ด์ง•)
- [x] ์˜ํ™” ํฌ์Šคํ„ฐ๊ฐ€ ์—†์„ ๊ฒฝ์šฐ ๋Œ€์ฒด ์ด๋ฏธ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [x] ์˜ํ™” ์ƒ์„ธ์ •๋ณด๊ฐ€ ์ถœ๋ ฅ๋˜๊ธฐ ์ „์— ๋กœ๋”ฉ ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ๋ณด์ด๋„๋ก ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [x] ์˜ํ™” ์ƒ์„ธ์ •๋ณด ํฌ์Šคํ„ฐ๋ฅผ ๊ณ ํ•ด์ƒ๋„๋กœ ์ถœ๋ ฅํ•ด๋ณด์„ธ์š”. (์‹ค์‹œ๊ฐ„ ์ด๋ฏธ์ง€ ๋ฆฌ์‚ฌ์ด์ง•)
- [ ] ์ฐจ๋ณ„ํ™”๊ฐ€ ๊ฐ€๋Šฅํ•˜๋„๋ก ํ”„๋กœ์ ํŠธ๋ฅผ ์ตœ๋Œ€ํ•œ ์˜ˆ์˜๊ฒŒ ๋งŒ๋“ค์–ด๋ณด์„ธ์š”.
- [ ] ์˜ํ™”์™€ ๊ด€๋ จ๋œ ๊ธฐํƒ€ ๊ธฐ๋Šฅ๋„ ๊ณ ๋ คํ•ด๋ณด์„ธ์š”.

Expand All @@ -53,35 +57,35 @@ curl https://omdbapi.com/?apikey=7035c60c
```

## ์˜ํ™” ๋ชฉ๋ก ๊ฒ€์ƒ‰

์˜ํ™” ๋ชฉ๋ก์€ ํ•œ ๋ฒˆ์— ์ตœ๋Œ€ 10๊ฐœ๊นŒ์ง€ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํŒŒ๋ผ๋ฏธํ„ฐ | ์„ค๋ช… | ๊ธฐ๋ณธ๊ฐ’
---|----------------------|---
`s` | ๊ฒ€์ƒ‰ํ•  ์˜ํ™” ์ œ๋ชฉ(ํ•„์ˆ˜!) | -
`y` | ๊ฒ€์ƒ‰ํ•  ๊ฐœ๋ด‰์—ฐ๋„, ๋นˆ ๊ฐ’์€ ์ „์ฒด ๊ฒ€์ƒ‰ | -
`page` | ๊ฒ€์ƒ‰ํ•  ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ | `1`
| ํŒŒ๋ผ๋ฏธํ„ฐ | ์„ค๋ช… | ๊ธฐ๋ณธ๊ฐ’ |
| -------- | ---------------------------------- | ------ |
| `s` | ๊ฒ€์ƒ‰ํ•  ์˜ํ™” ์ œ๋ชฉ(ํ•„์ˆ˜!) | - |
| `y` | ๊ฒ€์ƒ‰ํ•  ๊ฐœ๋ด‰์—ฐ๋„, ๋นˆ ๊ฐ’์€ ์ „์ฒด ๊ฒ€์ƒ‰ | - |
| `page` | ๊ฒ€์ƒ‰ํ•  ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ | `1` |

์š”์ฒญ ์ฝ”๋“œ ์˜ˆ์‹œ:

```js
async function getMovies(title, year = '', page = 1) {
const s = `&s=${title}`
const y = `&y=${year}`
const p = `&page=${page}`
async function getMovies(title, year = "", page = 1) {
const s = `&s=${title}`;
const y = `&y=${year}`;
const p = `&page=${page}`;
try {
const res = await fetch(`https://omdbapi.com/?apikey=7035c60c${s}${y}${p}`)
const json = await res.json()
if (json.Response === 'True') {
const { Search: movies, totalResults } = json
const res = await fetch(`https://omdbapi.com/?apikey=7035c60c${s}${y}${p}`);
const json = await res.json();
if (json.Response === "True") {
const { Search: movies, totalResults } = json;
return {
movies,
totalResults
}
totalResults,
};
}
return json.Error
return json.Error;
} catch (error) {
console.log(error)
console.log(error);
}
}
```
Expand All @@ -90,16 +94,16 @@ async function getMovies(title, year = '', page = 1) {

```ts
interface ResponseValue {
Search: Movie[] // ๊ฒ€์ƒ‰๋œ ์˜ํ™” ๋ชฉ๋ก, ์ตœ๋Œ€ 10๊ฐœ
totalResults: string // ๊ฒ€์ƒ‰๋œ ์˜ํ™” ๊ฐœ์ˆ˜
Response: 'True' | 'False' // ์š”์ฒญ ์„ฑ๊ณต ์—ฌ๋ถ€
Search: Movie[]; // ๊ฒ€์ƒ‰๋œ ์˜ํ™” ๋ชฉ๋ก, ์ตœ๋Œ€ 10๊ฐœ
totalResults: string; // ๊ฒ€์ƒ‰๋œ ์˜ํ™” ๊ฐœ์ˆ˜
Response: "True" | "False"; // ์š”์ฒญ ์„ฑ๊ณต ์—ฌ๋ถ€
}
interface Movie {
Title: string // ์˜ํ™” ์ œ๋ชฉ
Year: string // ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„
imdbID: string // ์˜ํ™” ๊ณ ์œ  ID
Type: string // ์˜ํ™” ํƒ€์ž…
Poster: string // ์˜ํ™” ํฌ์Šคํ„ฐ ์ด๋ฏธ์ง€ URL
Title: string; // ์˜ํ™” ์ œ๋ชฉ
Year: string; // ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„
imdbID: string; // ์˜ํ™” ๊ณ ์œ  ID
Type: string; // ์˜ํ™” ํƒ€์ž…
Poster: string; // ์˜ํ™” ํฌ์Šคํ„ฐ ์ด๋ฏธ์ง€ URL
}
```

Expand Down Expand Up @@ -130,57 +134,60 @@ interface Movie {

๋‹จ์ผ ์˜ํ™”์˜ ์ƒ์ œ์ •๋ณด๋ฅผ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค.

ํŒŒ๋ผ๋ฏธํ„ฐ | ์„ค๋ช… | ๊ธฐ๋ณธ๊ฐ’
---|---|---
`i` | ๊ฒ€์ƒ‰ํ•  ์˜ํ™” ID(ํ•„์ˆ˜!) |
`plot` | ์ค„๊ฑฐ๋ฆฌ ๊ธธ์ด | `short`
| ํŒŒ๋ผ๋ฏธํ„ฐ | ์„ค๋ช… | ๊ธฐ๋ณธ๊ฐ’ |
| -------- | --------------------- | ------- |
| `i` | ๊ฒ€์ƒ‰ํ•  ์˜ํ™” ID(ํ•„์ˆ˜!) |
| `plot` | ์ค„๊ฑฐ๋ฆฌ ๊ธธ์ด | `short` |

์š”์ฒญ ์ฝ”๋“œ ์˜ˆ์‹œ:

```js
async function getMovie(id) {
const res = await fetch(`https://omdbapi.com/?apikey=7035c60c&i=${id}&plot=full`)
const json = await res.json()
if (json.Response === 'True') {
return json
const res = await fetch(
`https://omdbapi.com/?apikey=7035c60c&i=${id}&plot=full`
);
const json = await res.json();
if (json.Response === "True") {
return json;
}
return json.Error
return json.Error;
}
```

์‘๋‹ต ๋ฐ์ดํ„ฐ ํƒ€์ž… ๋ฐ ์˜ˆ์‹œ:

```ts
interface ResponseValue {
Title: string // ์˜ํ™” ์ œ๋ชฉ
Year: string // ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„
Rated: string // ์˜ํ™” ๋“ฑ๊ธ‰
Released: string // ์˜ํ™” ๊ฐœ๋ด‰์ผ
Runtime: string // ์˜ํ™” ์ƒ์˜์‹œ๊ฐ„
Genre: string // ์˜ํ™” ์žฅ๋ฅด
Director: string // ์˜ํ™” ๊ฐ๋…
Writer: string // ์˜ํ™” ์ž‘๊ฐ€
Actors: string // ์˜ํ™” ์ถœ์—ฐ์ง„
Plot: string // ์˜ํ™” ์ค„๊ฑฐ๋ฆฌ
Language: string // ์˜ํ™” ์–ธ์–ด
Country: string // ์˜ํ™” ์ œ์ž‘ ๊ตญ๊ฐ€
Awards: string // ์˜ํ™” ์ˆ˜์ƒ ๋‚ด์—ญ
Poster: string // ์˜ํ™” ํฌ์Šคํ„ฐ ์ด๋ฏธ์ง€ URL
Ratings: Rating[] // ์˜ํ™” ํ‰์  ์ •๋ณด
Metascore: string // ์˜ํ™” ๋ฉ”ํƒ€์Šค์ฝ”์–ด
imdbRating: string // ์˜ํ™” IMDB ํ‰์ 
imdbVotes: string // ์˜ํ™” IMDB ํˆฌํ‘œ ์ˆ˜
imdbID: string // ์˜ํ™” ๊ณ ์œ  ID
Type: string // ์˜ํ™” ํƒ€์ž…
DVD: string // ์˜ํ™” DVD ์ถœ์‹œ์ผ
BoxOffice: string // ์˜ํ™” ๋ฐ•์Šค์˜คํ”ผ์Šค
Production: string // ์˜ํ™” ์ œ์ž‘์‚ฌ
Website: string // ์˜ํ™” ๊ณต์‹ ์›น์‚ฌ์ดํŠธ
Response: string // ์š”์ฒญ ์„ฑ๊ณต ์—ฌ๋ถ€
Title: string; // ์˜ํ™” ์ œ๋ชฉ
Year: string; // ์˜ํ™” ๊ฐœ๋ด‰์—ฐ๋„
Rated: string; // ์˜ํ™” ๋“ฑ๊ธ‰
Released: string; // ์˜ํ™” ๊ฐœ๋ด‰์ผ
Runtime: string; // ์˜ํ™” ์ƒ์˜์‹œ๊ฐ„
Genre: string; // ์˜ํ™” ์žฅ๋ฅด
Director: string; // ์˜ํ™” ๊ฐ๋…
Writer: string; // ์˜ํ™” ์ž‘๊ฐ€
Actors: string; // ์˜ํ™” ์ถœ์—ฐ์ง„
Plot: string; // ์˜ํ™” ์ค„๊ฑฐ๋ฆฌ
Language: string; // ์˜ํ™” ์–ธ์–ด
Country: string; // ์˜ํ™” ์ œ์ž‘ ๊ตญ๊ฐ€
Awards: string; // ์˜ํ™” ์ˆ˜์ƒ ๋‚ด์—ญ
Poster: string; // ์˜ํ™” ํฌ์Šคํ„ฐ ์ด๋ฏธ์ง€ URL
Ratings: Rating[]; // ์˜ํ™” ํ‰์  ์ •๋ณด
Metascore: string; // ์˜ํ™” ๋ฉ”ํƒ€์Šค์ฝ”์–ด
imdbRating: string; // ์˜ํ™” IMDB ํ‰์ 
imdbVotes: string; // ์˜ํ™” IMDB ํˆฌํ‘œ ์ˆ˜
imdbID: string; // ์˜ํ™” ๊ณ ์œ  ID
Type: string; // ์˜ํ™” ํƒ€์ž…
DVD: string; // ์˜ํ™” DVD ์ถœ์‹œ์ผ
BoxOffice: string; // ์˜ํ™” ๋ฐ•์Šค์˜คํ”ผ์Šค
Production: string; // ์˜ํ™” ์ œ์ž‘์‚ฌ
Website: string; // ์˜ํ™” ๊ณต์‹ ์›น์‚ฌ์ดํŠธ
Response: string; // ์š”์ฒญ ์„ฑ๊ณต ์—ฌ๋ถ€
}
interface Rating { // ์˜ํ™” ํ‰์  ์ •๋ณด
Source: string // ํ‰์  ์ œ๊ณต ์‚ฌ์ดํŠธ
Value: string // ํ‰์ 
interface Rating {
// ์˜ํ™” ํ‰์  ์ •๋ณด
Source: string; // ํ‰์  ์ œ๊ณต ์‚ฌ์ดํŠธ
Value: string; // ํ‰์ 
}
```

Expand All @@ -201,7 +208,7 @@ interface Rating { // ์˜ํ™” ํ‰์  ์ •๋ณด
"Awards": "Won 2 Oscars. 82 wins & 60 nominations total",
"Poster": "https://m.media-amazon.com/images/M/MV5BMTQ1MjQwMTE5OF5BMl5BanBnXkFtZTgwNjk3MTcyMDE@._V1_SX300.jpg",
"Ratings": [
{ "Source": "Internet Movie Database", "Value": "7.4/10" },
{ "Source": "Internet Movie Database", "Value": "7.4/10" },
{ "Source": "Rotten Tomatoes", "Value": "90%" },
{ "Source": "Metacritic", "Value": "75/100" }
],
Expand Down
3 changes: 3 additions & 0 deletions vite-moviesearch/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
18 changes: 18 additions & 0 deletions vite-moviesearch/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

!**/glob-import/dir/node_modules
.DS_Store
.idea
*.cpuprofile
*.local
*.log
/.vscode/
/docs/.vitepress/cache
/packages/vite/LICENSE
dist
dist-ssr
explorations
node_modules
playground-temp
temp
TODOs.md
.eslintcache
5 changes: 5 additions & 0 deletions vite-moviesearch/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Referrer-Policy: no-referrer
*/
3 changes: 3 additions & 0 deletions vite-moviesearch/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*.jsx application/javascript
/*.svg image/svg+xml
/* /index.html 200
3 changes: 3 additions & 0 deletions vite-moviesearch/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@babel/preset-react"],
};
14 changes: 14 additions & 0 deletions vite-moviesearch/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>์˜ํ™” ๊ฒ€์ƒ‰ ์‚ฌ์ดํŠธ</title>
</head>
<body>
<div id="root"></div>

<script type="module" src="./src/main.jsx"></script>
</body>
</html>
Loading