From 4f31ecbbc1be77814bdba0b1e77813bc8b8eaed0 Mon Sep 17 00:00:00 2001 From: kingmingseo <101965138+kingmingseo@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:02:09 +0900 Subject: [PATCH 1/3] =?UTF-8?q?4=EC=A3=BC=EC=B0=A8=20&=205=EC=A3=BC?= =?UTF-8?q?=EC=B0=A8=20=EB=AF=B8=EC=85=98=20-=20=EB=B0=8D=EB=B6=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.gitignore" | 25 + .../README.md" | 8 + .../eslint.config.js" | 38 + .../index.html" | 13 + .../package.json" | 38 + .../public/vite.svg" | 1 + .../src/App.jsx" | 70 + .../src/apis/axios-instance.js" | 10 + .../src/assets/cbr500r.png" | Bin 0 -> 246377 bytes .../src/assets/index.js" | 5 + .../src/assets/ninja.png" | Bin 0 -> 188128 bytes .../src/assets/r1.png" | Bin 0 -> 234877 bytes .../src/assets/rocket.png" | Bin 0 -> 173643 bytes .../src/assets/watcha.png" | Bin 0 -> 3783 bytes .../src/components/button.jsx" | 23 + .../src/components/input.jsx" | 52 + .../src/components/navbar.jsx" | 57 + .../src/components/sidebar.jsx" | 51 + .../src/hooks/useCustomFetch.js" | 28 + .../src/layout/root-layout.jsx" | 40 + .../src/main.jsx" | 9 + .../src/pages/category.jsx" | 77 + .../src/pages/detail.jsx" | 124 + .../src/pages/home.jsx" | 5 + .../src/pages/login.jsx" | 100 + .../src/pages/movies.jsx" | 71 + .../src/pages/not-found.jsx" | 5 + .../src/pages/search.jsx" | 13 + .../src/pages/signup.jsx" | 101 + .../vite.config.js" | 7 + .../yarn.lock" | 9941 +++++++++++++++++ 31 files changed, 10912 insertions(+) create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/package.json" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/public/vite.svg" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/App.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/apis/axios-instance.js" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/cbr500r.png" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/index.js" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/ninja.png" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/r1.png" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/rocket.png" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/assets/watcha.png" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/components/button.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/components/input.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/components/navbar.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/components/sidebar.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/hooks/useCustomFetch.js" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/layout/root-layout.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/main.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/category.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/detail.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/home.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/login.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/movies.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/not-found.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/search.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/src/pages/signup.jsx" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/vite.config.js" create mode 100644 "\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/yarn.lock" diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" new file mode 100644 index 0000000..19862e3 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" @@ -0,0 +1,25 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.env +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" new file mode 100644 index 0000000..f768e33 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" @@ -0,0 +1,8 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" new file mode 100644 index 0000000..238d2e4 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" @@ -0,0 +1,38 @@ +import js from '@eslint/js' +import globals from 'globals' +import react from 'eslint-plugin-react' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' + +export default [ + { ignores: ['dist'] }, + { + files: ['**/*.{js,jsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + parserOptions: { + ecmaVersion: 'latest', + ecmaFeatures: { jsx: true }, + sourceType: 'module', + }, + }, + settings: { react: { version: '18.3' } }, + plugins: { + react, + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...js.configs.recommended.rules, + ...react.configs.recommended.rules, + ...react.configs['jsx-runtime'].rules, + ...reactHooks.configs.recommended.rules, + 'react/jsx-no-target-blank': 'off', + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +] diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" new file mode 100644 index 0000000..0c589ec --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\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