Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 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
Empty file modified .husky/pre-commit
100644 β†’ 100755
Empty file.
17 changes: 14 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.56.0",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Metadata } from 'next';
import './globals.css';
import '../styles/globals.css';

export const metadata: Metadata = {
title: 'Create Next App',
Expand Down
5 changes: 5 additions & 0 deletions src/app/test/components/TestComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const TestComponent = () => {
return <div>test νŽ˜μ΄μ§€μ—μ„œλ§Œ μ’…μ†λ˜λŠ” μ»΄ν¬λ„ŒνŠΈλ“€μ΄ ν¬ν•¨λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.</div>;
};

export default TestComponent;
10 changes: 10 additions & 0 deletions src/app/test/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function TestPage() {
return (
<div>
ν…ŒμŠ€νŠΈ νŽ˜μ΄μ§€ μž…λ‹ˆλ‹€. νŽ˜μ΄μ§€μž„μ„ μ‹λ³„ν•˜κΈ° μœ„ν•΄ μ ‘λ―Έμ‚¬λ‘œ Pageλ₯Ό λΆ™μž…λ‹ˆλ‹€.
νŽ˜μ΄μ§€ μ»΄ν¬λ„ŒνŠΈλŠ” ν•¨μˆ˜ 선언문을 μ‚¬μš©ν•©λ‹ˆλ‹€.
</div>
);
}

export default TestPage;
3 changes: 3 additions & 0 deletions src/assets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## assets 폴더

### ν”„λ‘œμ νŠΈμ—μ„œ μ‚¬μš©λ˜λŠ” 정적 μžμ‚°μ„ ν¬ν•¨ν•˜λŠ” ν΄λ”μž…λ‹ˆλ‹€.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/components/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## components 폴더

### κ³΅ν†΅μœΌλ‘œ μ‚¬μš©λ˜λŠ” μ»΄ν¬λ„ŒνŠΈλ₯Ό μ •μ˜ν•˜λŠ” ν΄λ”μž…λ‹ˆλ‹€.

common ν΄λ”μ—λŠ” κ³΅ν†΅μœΌλ‘œ μ‚¬μš©λ˜λŠ” μ‘°ν•© μ»΄ν¬λ„ŒνŠΈλ₯Ό μ •μ˜ν•©λ‹ˆλ‹€.
ex) ProfileCard

ui ν΄λ”μ—λŠ” κ³΅ν†΅μœΌλ‘œ μ‚¬μš©λ˜λŠ” μƒνƒœλ‚˜ λΉ„μ¦ˆλ‹ˆμŠ€ 둜직이 μ—†λŠ” 순수 μ»΄ν¬λ„ŒνŠΈλ₯Ό μ •μ˜ν•©λ‹ˆλ‹€.
ex) Card
7 changes: 7 additions & 0 deletions src/hooks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## hooks 폴더

### μ»€μŠ€ν…€ 훅을 μ •μ˜ν•˜λŠ” ν΄λ”μž…λ‹ˆλ‹€.

common ν΄λ”μ—λŠ” μ „μ—­μ—μ„œ μ‚¬μš©ν•  μ»€μŠ€ν…€ 훅듀을 μ •μ˜ν•©λ‹ˆλ‹€.<br/>
queries ν΄λ”μ—λŠ” tanstack-query의 useQuriesλ₯Ό μ‚¬μš©ν•œ μ»€μŠ€ν…€ 훅듀을 μ •μ˜ν•©λ‹ˆλ‹€.<br/>
mutations ν΄λ”μ—λŠ” tanstack-query의 useMutationsλ₯Ό μ‚¬μš©ν•œ μ»€μŠ€ν…€ 훅듀을 μ •μ˜ν•©λ‹ˆλ‹€.
5 changes: 5 additions & 0 deletions src/lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## lib 폴더

### μ™ΈλΆ€ 라이브러리 연동 μ½”λ“œ 및 λ‘œμ§μ„ λͺ¨μ•„λ‘λŠ” ν΄λ”μž…λ‹ˆλ‹€.

axios, react-query 같은 μ„œλ“œνŒŒν‹° 라이브러리 μ΄ˆκΈ°ν™” 등을 μ •μ˜ν•©λ‹ˆλ‹€. <br/>
5 changes: 5 additions & 0 deletions src/service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## service 폴더

### 핡심 λΉ„μ¦ˆλ‹ˆμŠ€ 둜직과 API ν˜ΈμΆœμ„ κ΄€λ¦¬ν•˜λŠ” ν΄λ”μž…λ‹ˆλ‹€.

api > endpoints ν΄λ”μ—λŠ” API μ—”λ“œν¬μΈνŠΈλ₯Ό μƒμˆ˜λ‘œ κ΄€λ¦¬ν•©λ‹ˆλ‹€.
5 changes: 5 additions & 0 deletions src/service/api/endpoints.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const API_BASE_URL = 'http://3.34.218.217:8080/';

export const ENDPOINTS = {
TEST: `${API_BASE_URL}/test`,
} as const;
3 changes: 3 additions & 0 deletions src/store/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## store 폴더

### μ „μ—­μœΌλ‘œ μ‚¬μš©λ  μŠ€ν† μ–΄λ₯Ό μ •μ˜ν•˜λŠ” ν΄λ”μž…λ‹ˆλ‹€.
3 changes: 3 additions & 0 deletions src/styles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## styles 폴더

### μ „μ—­μœΌλ‘œ μ‚¬μš©λ  css νŒŒμΌμ„ λͺ¨μ•„λ‘λŠ” ν΄λ”μž…λ‹ˆλ‹€.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/types/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## types 폴더

### μ „μ—­μœΌλ‘œ μ‚¬μš©λ  νƒ€μž…μ„ λͺ¨μ•„λ‘λŠ” ν΄λ”μž…λ‹ˆλ‹€.
5 changes: 5 additions & 0 deletions src/util/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## util 폴더

### ν”„λ‘œμ νŠΈμ—μ„œ μž¬μ‚¬μš©λ˜λŠ” μœ ν‹Έλ¦¬ν‹° ν•¨μˆ˜λ“€μ„ λͺ¨μ•„λ‘λŠ” ν΄λ”μž…λ‹ˆλ‹€.

λ¬Έμžμ—΄ ν¬λ§·νŒ…, λ‚ μ§œμ²˜λ¦¬, 곡톡 헬퍼 ν•¨μˆ˜ 등을 μ •μ˜ν•©λ‹ˆλ‹€.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"name": "next"
}
],
"baseUrl": "src",
"baseUrl": "./src",
"paths": {
"@/*": ["src/*"],
"@/*": ["/*"],
"@/app/*": ["app/*"],
"@/components/*": ["components/*"],
"@/hooks/*": ["hooks/*"],
Expand Down