관리자가 회원별 저장 덱 이용 현황을 한눈에 볼 수 있도록 API 집계와 UI를 보강한다. Co-authored-by: Cursor <cursoragent@cursor.com>
171 lines
2.5 KiB
Markdown
171 lines
2.5 KiB
Markdown
# 파일-기능 지도
|
|
|
|
## 화면
|
|
|
|
```text
|
|
/
|
|
index.html
|
|
|
|
/cardList.html
|
|
cardList.html
|
|
|
|
/result.html
|
|
result.html
|
|
|
|
/login.html
|
|
login.html
|
|
|
|
/signup.html
|
|
signup.html
|
|
|
|
/profile.html
|
|
profile.html
|
|
|
|
/deckHistory.html
|
|
deckHistory.html
|
|
|
|
/preset.html
|
|
preset.html
|
|
|
|
/admin.html
|
|
admin.html
|
|
|
|
/d/<shareCode>
|
|
nginx/default.conf
|
|
nginx/uadeck.conf
|
|
```
|
|
|
|
## 프론트 공통 모듈
|
|
|
|
```text
|
|
API 요청
|
|
script/api.js
|
|
|
|
인증 헤더
|
|
script/auth-header.js
|
|
style/components.css (@layer components)
|
|
|
|
페이지 공통 레이아웃·덱 카드·프로필·광고 레일
|
|
style/components.css
|
|
|
|
Tailwind 빌드 진입점
|
|
style/input.css
|
|
style/output.css
|
|
|
|
브랜드 로고 규격
|
|
style/brand.css
|
|
|
|
페이지 번역
|
|
script/page-i18n.js
|
|
i18n/translations.ko.json
|
|
i18n/translations.ja.json
|
|
i18n/translations.en.json
|
|
|
|
페이지 도움말
|
|
script/page-help.js
|
|
|
|
덱 공개 기본값
|
|
script/deck-prefs.js
|
|
|
|
덱 즐겨찾기
|
|
script/deck-favorites.js
|
|
|
|
계정 즐겨찾기 DB·API
|
|
api/src/db.js
|
|
api/src/routes/decks.js
|
|
|
|
덱 썸네일 확대
|
|
script/deck-preview-hold.js
|
|
|
|
이미지 PNG 변환
|
|
script/image-utils.js
|
|
|
|
광고 초기화
|
|
script/ads.js
|
|
```
|
|
|
|
## 페이지 전용 스타일
|
|
|
|
```text
|
|
관리자·로그인·회원가입
|
|
admin.html (회원 2열·덱 공개/전체 통계), login.html, signup.html — Tailwind 유틸리티
|
|
|
|
내 덱·공개 덱·프로필
|
|
deckHistory.html, preset.html, profile.html — HTML 클래스 + components.css
|
|
|
|
Tailwind 입력·산출물
|
|
style/input.css
|
|
style/output.css
|
|
```
|
|
|
|
## API
|
|
|
|
```text
|
|
서버 진입·헬스 체크
|
|
api/src/index.js
|
|
|
|
SQLite 스키마·관리자 시드
|
|
api/src/db.js
|
|
|
|
JWT 인증·권한
|
|
api/src/middleware/auth.js
|
|
|
|
회원가입·로그인·프로필
|
|
api/src/routes/auth.js
|
|
|
|
덱 저장·조회·공개 목록
|
|
api/src/routes/decks.js
|
|
|
|
회원·덱 관리자 API
|
|
api/src/routes/admin.js
|
|
|
|
카드 메타 합성
|
|
api/src/services/cardResolver.js
|
|
|
|
아바타 저장
|
|
api/src/services/avatarImage.js
|
|
|
|
덱 미리보기 저장
|
|
api/src/services/previewImage.js
|
|
|
|
미참조 덱 미리보기 조회·정리
|
|
api/src/routes/admin.js
|
|
api/src/services/previewImage.js
|
|
```
|
|
|
|
## 데이터·자산
|
|
|
|
```text
|
|
카드 데이터
|
|
datas/uaXX.js
|
|
datas/uapr.js
|
|
|
|
카드 이미지
|
|
images/<seriesKey>/
|
|
|
|
브랜드·파비콘
|
|
images/assets/
|
|
favicon.ico
|
|
```
|
|
|
|
## 운영·외부 연동
|
|
|
|
```text
|
|
API 단독 Compose
|
|
docker-compose.yml
|
|
|
|
Nginx + API Compose
|
|
docker-compose.prod.yml
|
|
|
|
Nginx 이미지
|
|
nginx/Dockerfile
|
|
nginx/default.conf
|
|
|
|
외부 덱 API 클라이언트
|
|
integrations/uadeck-deck-client.js
|
|
|
|
외부 연동 문서
|
|
docs/api-integration.md
|
|
docs/widget.md
|
|
```
|