Skip to content

Commit

Permalink
Merge pull request #296 from JNU-econovation/fe
Browse files Browse the repository at this point in the history
  • Loading branch information
bada308 authored Mar 3, 2024
2 parents efd1229 + ddc4ca9 commit 2a4a903
Show file tree
Hide file tree
Showing 80 changed files with 1,202 additions and 844 deletions.
69 changes: 38 additions & 31 deletions FE/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,43 @@
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).
# FE - README.md

## Getting Started
## TechStack

First, run the development server:
| Architecture | MVVM |
| ----------------------- | ----------------------------------------------- |
| Language | TypeScript |
| UI | Tailwind CSS |
| Libraries | Next.js, React Query, jotai, axios, TailwindCSS |
| Asynchronous Processing | React Query, axios |

```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:
## Package Structure

- [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.
```
FE
├─ 📁 public
├─ 📁 src
│ ├─ 📁 apis
│ │ ├─ 📁 dtos
│ ├─ 📁 app
│ ├─ 📁 components
│ ├─ 📁 constants
│ ├─ 📁 hooks
│ │ ├─ 📁 query
│ ├─ 📁 store
│ ├─ 📁 types
└─ └─ 📁 utils
```

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
| Directory Name | Description |
| --------------- | ------------------------------------- |
| public | 정적 파일 (이미지 등) |
| src | 소스 코드 |
| src/apis | API 요청 및 응답 처리 |
| src/apis/dtos | 네트워크 통신을 위한 데이터 전송 객체 |
| src/app | 앱 전체 레이아웃 및 라우팅 설정 |
| src/component | 컴포넌트 |
| src/constants | 변하지 않는 값 선언 |
| src/hooks | 상태 관리 및 비즈니스 로직 |
| src/hooks/query | query & mutate 로직 처리 |
| src/store | 전역 상태 관리 (Jotai) |
| src/types | Typescript 타입 정의 |
| src/utils | 공통 유틸리티 함수 |
33 changes: 18 additions & 15 deletions FE/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next build && next start",
"lint": "next lint"
"lint": "next lint --fix"
},
"dependencies": {
"@tanstack/react-query": "^4.35.7",
Expand All @@ -29,20 +29,23 @@
"tailwind-scrollbar-hide": "^1.1.7"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/parser": "^6.14.0",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.0.4",
"eslint-config-prettier": "^9.1.0",
"@types/node": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"autoprefixer": "latest",
"eslint": "latest",
"eslint-config-next": "latest",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.9",
"tailwindcss": "^3.3.0",
"typescript": "^5"
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"postcss": "latest",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "latest",
"typescript": "latest"
}
}
Loading

0 comments on commit 2a4a903

Please sign in to comment.