Skip to content
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
28 changes: 28 additions & 0 deletions .gitignore
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?

*
!src/
!.gitignore
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
# 리액트 투두 앱 만들기 미션 레포
# 📝 React Todo App

React로 간단한 만든 Todo 웹 애플리케이션입니다.
할 일을 **등록**, **조회**, **수정**, **삭제**할 수 있는 기본 기능을 제공합니다.

![React](https://img.shields.io/badge/React-19.1.0-blue?logo=react)
---


## 🧰 사용 기술

- React (Vite)
- JavaScript
- CSS

---

## 🛠️ 기능

✅ 할 일 등록
✅ 할 일 목록 조회
✅ 할 일 내용 수정
✅ 할 일 삭제

---

## 📸 스크린샷

> ![image](https://github.com/user-attachments/assets/9359fb8e-c953-4bd8-8503-4cc21b398ec4)
![image](https://github.com/user-attachments/assets/d267015c-50a3-44fe-aac8-77f3f2551196)
![image](https://github.com/user-attachments/assets/0a9afb5f-4d58-4d6f-b9ac-a4e9ad567e40)

---

## 📁 프로젝트 구조

```
REACT-TODO-WTL2/
├── public/
├── src/
│ ├── assets/
│ ├── components/ # 컴포넌트 폴더
│ │ ├── DeleteModal.jsx # 삭제 모달
│ │ ├── EditModal.jsx # 수정 모달
│ │ ├── Header.jsx # 상단 헤더
│ │ ├── TodoItem.jsx # 개별 Todo 항목
│ │ ├── TodoList.jsx # Todo 목록
│ │ ├── TodoWriteform.jsx # Todo 작성 폼
│ ├── App.jsx # 메인 앱 컴포넌트
│ ├── App.css # 스타일 시트
│ ├── index.css # 사용 X
│ ├── main.jsx # 앱 진입점
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── vite.config.js
└── README.md
```



29 changes: 29 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import { defineConfig, globalIgnores } from 'eslint/config'

export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{js,jsx}'],
extends: [
js.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
},
},
])
13 changes: 13 additions & 0 deletions index.html
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="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사소하지만 제목도 바꿔주시면 더 좋을것 같아요!

</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading