Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c4f98fc
sprint5 러프하게
626-ju May 18, 2025
c09aa40
refactor: 파일 구조 다시
626-ju May 19, 2025
0f830e2
updateProductsByQuery 다시 분리해서 setState 사용하는 모습 노출시키기
626-ju May 20, 2025
0a1399e
feature: login추가
626-ju May 20, 2025
fdc2d18
feature sign-up추가
May 22, 2025
37db533
refactor: queryString요청 다시 커스텀 훅으로, feat: 로그인헤더 추가
626-ju May 22, 2025
179967f
refactor: 폴더구조 변경, 유효성 검사 부모로 빼기
626-ju May 23, 2025
25c1266
fix: 헤더 수정
626-ju May 23, 2025
006ad69
fix: form 경로 수정
626-ju May 23, 2025
c857855
_redirects 추가
626-ju May 23, 2025
35cb291
fix: 페이지네이션 불들어오는 거 수정
626-ju May 23, 2025
9e6e66d
불필요한 memo제거
626-ju May 23, 2025
bb0a8a4
페이지네이션 불필요한 useEffect제거
626-ju May 23, 2025
2d157cb
커스텀 훅 내부 pageSize 초기값 수정
626-ju May 24, 2025
4f731fd
불필요한 aria-label제거
626-ju May 24, 2025
add8432
대체이미지 추가
626-ju May 24, 2025
dbb8ff8
refactor: 전반적인 이름수정
626-ju May 24, 2025
d6906c2
이름 수정+ useResizeInnerWidth훅 null 들어가는 거 고치기
626-ju May 24, 2025
f1d45a2
header, login,signup 공용 컴포넌트 더 나눠보기
626-ju May 24, 2025
7fcad5b
fix: signUp 임포트 수정
626-ju May 24, 2025
80ddc64
docs: 설명주석 보충
626-ju May 25, 2025
768f439
Header line26 삼항연산자-> &&
626-ju May 25, 2025
6f36012
refactor(mentor): 폼인증 useReduce, useCallback, React.memo 활용하기
626-ju May 26, 2025
02e41fa
refactor(metor): 포맷팅, 셀프 클로징태그 사용, deps 추가
626-ju May 26, 2025
8c5fbb8
refactor(mentor): ProducstAllContext -> ProductData로 이름 변경
626-ju May 26, 2025
dd1f0e2
refactort(mentor): pagination로직 커스텀 훅으로 빼기
626-ju May 26, 2025
d44fd36
refactor: usePagination훅에서 불필요한 노출 값(pageStart) 제거
626-ju May 26, 2025
d2685ad
refactor(mentor): <Route />도 셀프클로징 적용, filter-bar관련 css 파일이름 jsx랑 맞추기
May 28, 2025
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
42 changes: 22 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# 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
72 changes: 7 additions & 65 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,12 @@
# Getting Started with Create React App
# React + Vite

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

## Available Scripts
Currently, two official plugins are available:

In the project directory, you can run:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

### `npm start`
## Expanding the ESLint configuration

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
33 changes: 33 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import js from '@eslint/js'
import globals from 'globals'
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',
},
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...reactHooks.configs.recommended.rules,
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- og -->
<meta property="og:title" content="판다마켓" />
<meta property="og:description" content="일상의 모든 물건을 거래해보세요" />
<meta property="og:image" content="https://panda-sprint5.netlify.app//og-img.jpg" />
<meta property="og:url" content="https://panda-sprint5.netlify.app/" />
<!-- 트위처og -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="판다마켓" />
<meta name="twitter:description" content="일상의 모든 물건을 거래해보세요" />
<meta name="twitter:image" content="https://panda-sprint5.netlify.app//og-img.jpg" />
<meta name="twitter:url" content="https://panda-sprint5.netlify.app/" />
<title>판다마켓</title>
<link rel="icon" href="./favi.ico">
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading
Loading