Skip to content

Latest commit

Β 

History

History
55 lines (52 loc) Β· 2.74 KB

File metadata and controls

55 lines (52 loc) Β· 2.74 KB

🎡 Muaring frontend

πŸ“ Project Structure

muaring/
β”œβ”€ app/                     # μ‹€ν–‰ λͺ¨λ“ˆ (런처, λ„€λΉ„κ²Œμ΄μ…˜, DI 루트)
β”‚  β”œβ”€ src/main/
β”‚  β”‚  β”œβ”€ AndroidManifest.xml
β”‚  β”‚  β”œβ”€ java/org/maru/muaring/ (App.java, MainActivity λ“±)
β”‚  β”‚  └─ res/ (activity_main.xml λ“±)
β”‚  └─ build.gradle
β”‚
β”œβ”€ core/                    # μ „μ—­ 곡톡 κΈ°λŠ₯(μ„œλΉ„μŠ€/μœ ν‹Έ) 묢음
β”‚  β”œβ”€ common/               # Result, Error, Constants λ“± 베이슀 νƒ€μž…
β”‚  β”œβ”€ ui/                   # BaseFragment/Adapter, 곡톡 UI 헬퍼
β”‚  β”œβ”€ network/              # Retrofit/OkHttp, Interceptor, λ„€νŠΈμ›Œν¬ μœ ν‹Έ
β”‚  └─ (core-database)/      # 선택: Room, DataStore (ν•„μš” μ‹œ)
β”‚
β”œβ”€ data/                    # 데이터 μ ‘κ·Ό(μ›μ²œ) λ ˆμ΄μ–΄: API/DB/Repo κ΅¬ν˜„
β”‚  β”œβ”€ remote/               # Retrofit API
β”‚  β”œβ”€ local/                # DAO / DataStore
β”‚  β”œβ”€ model/                # DTO/Response (domainκ³Ό 뢄리)
β”‚  β”œβ”€ repository/           # RepositoryImpl (+ mapper)
β”‚  └─ di/                   # Hilt Module (Network/Repo 제곡)
β”‚
β”œβ”€ design/                  # λ””μžμΈ μ‹œμŠ€ν…œ (ν…Œλ§ˆ/색/타이포/μ»΄ν¬λ„ŒνŠΈ μŠ€νƒ€μΌ)
β”‚  β”œβ”€ src/main/res/values/  # themes.xml, colors.xml, styles.xml, dimens.xml
β”‚  └─ (components/, utils/) # 선택: μ»€μŠ€ν…€ λ·°/λ¦¬μ†ŒμŠ€ 헬퍼
β”‚
β”œβ”€ feature/                 # ν™”λ©΄(κΈ°λŠ₯) λ‹¨μœ„ λͺ¨λ“ˆλ“€
β”‚  β”œβ”€ search/
β”‚  β”‚  β”œβ”€ ui/                # Fragment, Adapter λ“± λ·° 계측
β”‚  β”‚  β”œβ”€ domain/            # UseCase, Domain model(ν•„μš” μ‹œ)
β”‚  β”‚  β”œβ”€ data/              # ν•΄λ‹Ή ν”Όμ²˜ ν•œμ • RepoImpl(선택)
β”‚  β”‚  └─ di/                # ν”Όμ²˜ λ‚΄λΆ€ μ˜μ‘΄μ„± 제곡(Hilt)
β”‚  β”‚  └─ src/main/res/layout/fragment_search.xml
β”‚  └─ featureName           # 예) feature-auth, feature-home λ“±
β”‚
β”œβ”€ gradle/
β”‚  └─ libs.versions.toml    # 버전 μΉ΄νƒˆλ‘œκ·Έ(μ˜μ‘΄μ„± 버전 ν•œ κ³³μ—μ„œ 관리)
β”‚
β”œβ”€ settings.gradle          # λͺ¨λ“ˆ 등둝(include)
└─ build.gradle             # 루트 λΉŒλ“œ 슀크립트

λͺ¨λ“ˆ ꡬ쑰 μš”μ•½

λͺ¨λ“ˆ μ£Όμš” μ±…μž„
app 런처/λ„€λΉ„κ²Œμ΄μ…˜/DI 루트. μ „ λͺ¨λ“ˆμ˜ μ—”νŠΈλ¦¬
core μ „μ—­ 곡톡 둜직, Util, Network, BaseFragment λ“±
data APIΒ·DB μ ‘κ·Ό 및 Repository κ΅¬ν˜„
design ν…Œλ§ˆ, 색상, μŠ€νƒ€μΌ, 곡톡 UI κ΅¬μ„±μš”μ†Œ
feature/ μ‹€μ œ ν™”λ©΄Β·κΈ°λŠ₯ λ‹¨μœ„ (검색, 둜그인, ν™ˆ λ“±)
gradle 버전/λΉŒλ“œ μ„€μ • 관리