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

[임동민] Good-Night-3rd-Hackathon-Frontend 제출 #1

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
bc8f9d0
init: 초기 설정
dongmin115 Aug 25, 2024
f3268c1
feat: 소원 나무 페이지 퍼블리싱
dongmin115 Aug 25, 2024
78f9c6a
feat: 소원 열매 달기 페이지 퍼블리싱
dongmin115 Aug 25, 2024
fc11fa2
feat: 전체 소원 조회 기능구현
dongmin115 Aug 25, 2024
3e72836
feat: 단일 소원 조회 기능구현
dongmin115 Aug 25, 2024
4a1e385
feat: 소원 댓글 조회 기능구현
dongmin115 Aug 25, 2024
6b63bca
feat: 소원 댓글 작성 기능구현
dongmin115 Aug 25, 2024
a8822d0
feat: 권한 설정 기능구현
dongmin115 Aug 25, 2024
a1cbe87
feat: 댓글 삭제 기능구현
dongmin115 Aug 25, 2024
ca1651f
feat: 뒤로가기 기능구현
dongmin115 Aug 25, 2024
48e1eed
feat: 소원 생성 기능구현
dongmin115 Aug 25, 2024
644ce81
feat: NotFound 페이지 기능구현
dongmin115 Aug 25, 2024
cf80ddb
feat: 보류 중인 소원 조회 기능구현
dongmin115 Aug 25, 2024
f8e82bd
feat: 소원 승인/거절 기능구현
dongmin115 Aug 25, 2024
ae22d7f
refactor: 상태별 소원 호출 함수 재사용
dongmin115 Aug 25, 2024
e12a145
style: 오타수정
dongmin115 Aug 25, 2024
9349577
feat: 카테고리별 소원 조회 기능구현
dongmin115 Aug 25, 2024
2b34c1b
feat: 소원 조회 무한스크롤 기능구현
dongmin115 Aug 25, 2024
f2ad330
feat: 소원 등록 유저만 가능하도록 기능구현
dongmin115 Aug 25, 2024
bbe24f0
feat: 새로고침해도 사용자 권한 유지 기능구현
dongmin115 Aug 25, 2024
6ec4416
style: 스타일 적용
dongmin115 Aug 25, 2024
3a70580
refactor: 로컬스토리지 로직 분리
dongmin115 Aug 26, 2024
bcf6343
refactor: input 요소 aria-label 추가
dongmin115 Aug 26, 2024
7c295a8
refactor: 카테고리 옵션 객체화하여 map으로 렌더링
dongmin115 Aug 26, 2024
0ab0f31
refactor: API 호출 반환값 타입지정
dongmin115 Aug 26, 2024
5aada50
refactor: 비동기 작업시 로딩 UI 추가
dongmin115 Aug 26, 2024
08d40e9
refactor: not-found 페이지 서버 컴포넌트로 변경
dongmin115 Aug 26, 2024
d09f4a3
fix: 클라이언트 환경에서만 getItem 호출하도록 수정
dongmin115 Aug 26, 2024
7fa4502
refactor: Next의 Image 컴포넌트로 배경 이미지 최적화
dongmin115 Aug 26, 2024
9f864ba
refactor: pendingWishes 값이 null 일 때 예외처리
dongmin115 Aug 26, 2024
bb47a6e
refactor: 중복되는 필터 로직 함수로 분리
dongmin115 Aug 26, 2024
5c3576a
refactor: 무한스크롤 컴포넌트 분리
dongmin115 Aug 27, 2024
4097f02
refactor: 비동기 함수에 대하여 에러 핸들링 추가
dongmin115 Aug 27, 2024
b4f9047
refactor: 다수의 상태를 reducer로 관리
dongmin115 Aug 29, 2024
9721c7c
refactor: 쿼리스트링 유틸함수로 생성
dongmin115 Aug 29, 2024
bc45905
refactor: useForm으로 폼 관리
dongmin115 Aug 29, 2024
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
3 changes: 3 additions & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals" , "prettier" ]
}
36 changes: 36 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
6 changes: 6 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all"
}
36 changes: 36 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
4 changes: 4 additions & 0 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading