-
Notifications
You must be signed in to change notification settings - Fork 57
[AIBE6/1팀/박흥준] TODO APP 만들기 완료 #49
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
Open
HeungJunBag
wants to merge
25
commits into
sik2:main
Choose a base branch
from
HeungJunBag:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
cd9caa8
init: react-todo-app setup
HeungJunBag 05fccac
App에서 할일 리스트, 등록 작업
HeungJunBag 9bf4d14
할일 삭제
HeungJunBag a210075
수정하기 작업을 위한 데이터 구조 변경
HeungJunBag ddac7f6
고유 ID 추가
HeungJunBag 88d3163
할일 수정하기
HeungJunBag c0eb0be
할일 체크 기능 추가
HeungJunBag 06bd166
useRef 사용해서 아이디 값 증가
HeungJunBag d6c7491
등록 폼 컴포넌트 분리 - TodoWriteForm
HeungJunBag 84f1741
목록 컴포넌트 분리 - TodoList
HeungJunBag a1f8c40
handleOnSubmit addTodo로 분리
HeungJunBag 3712ad3
useTodos custom hooks 추가
HeungJunBag 5dfe4de
TodoItem 컴포넌트 분리
HeungJunBag 0f913b1
context api 적용
HeungJunBag 1eb55d5
localStorage 연동
HeungJunBag 3aa4faa
등록 폼에 placeholder 추가
HeungJunBag 7ee0ea8
할 일 입력값 검증 기능 추가
HeungJunBag eb817d0
등록 폼 입력 후 초기화 기능 추가
HeungJunBag 3b0a7a6
완료된 할일 항목 취소선 적용
HeungJunBag 0e53639
남은 할 일 개수 표시
HeungJunBag 99da9ee
전체 완료, 해제 기능
HeungJunBag 104501b
할 일 수정 기능 (수정버튼)
HeungJunBag 976d424
Tailwind PostCSS 플러그인 설정 및 스타일 적용
HeungJunBag fdae8ff
README 작성
HeungJunBag a0859b6
README 수정
HeungJunBag File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # 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 | ||
| .DS_Store | ||
| *.suo | ||
| *.ntvs* | ||
| *.njsproj | ||
| *.sln | ||
| *.sw? | ||
|
|
||
| .env | ||
| .vite/ | ||
| coverage/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "printWidth": 120, | ||
| "tabWidth": 4, | ||
| "singleQuote": true, | ||
| "trailingComma": "all", | ||
| "semi": false | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,52 @@ | ||
| # 리액트 투두 앱 만들기 미션 레포 | ||
| # React Todo App | ||
|
|
||
| React와 Vite로 만든 할 일 관리 앱입니다. | ||
|
|
||
| ## 실행 화면 | ||
|
|
||
| | 기본 화면 | 할 일 추가 | 수정 모드 | | ||
| | :------------------------------------: | :------------------------------------: | :------------------------------------: | | ||
| |  |  |  | | ||
|
|
||
| > 주요 기능 | ||
|
|
||
| - 할 일 추가 / 삭제 / 수정 | ||
| - 완료 체크 및 취소선 표시 | ||
| - 전체 완료 / 전체 해제 | ||
| - 남은 할 일 개수 표시 | ||
| - LocalStorage를 이용한 데이터 영속성 | ||
|
|
||
| ## 기술 스택 | ||
|
|
||
| - **React 19** — UI 구성 | ||
| - **Vite 8** — 빌드 도구 | ||
| - **Tailwind CSS v4** — 스타일링 | ||
| - **Context API** — 전역 상태 관리 | ||
| - **LocalStorage** — 데이터 저장 | ||
|
|
||
| ## 프로젝트 구조 | ||
|
|
||
| ``` | ||
| src/ | ||
| ├── App.jsx # 루트 컴포넌트 | ||
| ├── main.jsx # 엔트리 포인트 | ||
| ├── index.css # Tailwind CSS 임포트 | ||
| ├── components/ | ||
| │ ├── TodoWriteForm.jsx # 할 일 입력 폼 | ||
| │ ├── TodoList.jsx # 할 일 목록 | ||
| │ └── TodoItem.jsx # 할 일 항목 | ||
| ├── context/ | ||
| │ └── TodoContext.jsx # 전역 상태 관리 | ||
| └── utils/ | ||
| └── storage.js # LocalStorage 유틸 | ||
| ``` | ||
|
|
||
| ## 시작하기 | ||
|
|
||
| ```bash | ||
| # 의존성 설치 | ||
| npm install | ||
|
|
||
| # 개발 서버 실행 | ||
| npm run dev | ||
| ``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| import js from '@eslint/js' | ||
| import globals from 'globals' | ||
| import reactHooks from 'eslint-plugin-react-hooks' | ||
| import reactRefresh from 'eslint-plugin-react-refresh' | ||
| import prettier from 'eslint-config-prettier' | ||
| import { defineConfig, globalIgnores } from 'eslint/config' | ||
|
|
||
| export default defineConfig([ | ||
| globalIgnores(['dist']), | ||
| { | ||
| files: ['**/*.{js,jsx}'], | ||
| extends: [js.configs.recommended, reactHooks.configs.flat.recommended, reactRefresh.configs.vite, prettier], | ||
| languageOptions: { | ||
| ecmaVersion: 2020, | ||
| globals: globals.browser, | ||
| parserOptions: { | ||
| ecmaVersion: 'latest', | ||
| ecmaFeatures: { jsx: true }, | ||
| sourceType: 'module', | ||
| }, | ||
| }, | ||
| rules: { | ||
| 'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }, | ||
| }, | ||
| ]) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>react-todo-mission1</title> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script type="module" src="/src/main.jsx"></script> | ||
| </body> | ||
| </html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parserOptions.ecmaVersion: 'latest'가 이미 설정되어 있으므로, 이ecmaVersion: 2020설정은 중복될 수 있습니다.parserOptions내의 설정이 우선 적용됩니다.