# sopt-makers/sopt-ios architecture

> Architecture diagram of the GitHub repository sopt-makers/sopt-ios, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sopt-makers/sopt-ios
- Repository: https://github.com/sopt-makers/sopt-ios

## Overview

SOPT is an iOS app for SOPT members and prospective members, offering authentication, activity and attendance tools, community features, and web-product access. A typical user enters through the app, signs in or browses as a non-member, then uses features such as attendance, missions and rankings, or member discovery. Its documented Clean Architecture separates presentation, domain use cases and repository interfaces, and data implementations from network services. The feature branches are chiefly README- and tree-supported; unsampled feature-to-layer calls are left unverified.

Main entry points: [`SOPT-iOS/Projects/Data/Sources/Repository`](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Data/Sources/Repository) (Repositories), [`SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift`](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift) (App shell), [`SOPT-iOS/Projects/Core/Sources`](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Core/Sources) (Shared app services), [`SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift`](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift) (Core auth service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["App and features"]
  node_app["App shell"]
  node_auth["Authentication"]
  node_attendance["Attendance"]
  node_home["Home and services"]
  node_stamp["Missions and ranking"]
  node_poke["Member discovery"]
  node_web["Web product access"]
  node_notifications["Push and routing"]
end

subgraph group_domain["Domain logic"]
  node_domain_usecases["Use cases"]
  node_domain_models["Domain models"]
  node_repository_interfaces["Repository contracts"]
end

subgraph group_data["Data and networking"]
  node_repositories["Repositories"]
  node_transforms["Data transforms"]
  node_network["Network services<br/>[BaseService.swift]"]
  node_auth_service["Core auth service"]
end

subgraph group_platform["Shared platform"]
  node_core["Shared app services"]
  node_analytics["Analytics"]
  node_firebase["Firebase services"]
end

node_user(("Member or visitor"))

node_user -->|"opens app"| node_app
node_user -->|"signs in"| node_auth
node_user -->|"checks attendance"| node_attendance
node_user -->|"browses services"| node_home
node_user -->|"completes missions"| node_stamp
node_user -->|"discovers members"| node_poke
node_user -->|"opens web content"| node_web
node_app -.->|"routes to"| node_auth
node_domain_usecases -.->|"uses contracts"| node_repository_interfaces
node_repositories -->|"implements"| node_repository_interfaces
node_repositories -->|"calls"| node_auth_service
node_auth_service -->|"uses base service"| node_network
node_repositories -.->|"maps data"| node_transforms
node_repositories -.->|"returns models"| node_domain_models
node_app -.->|"routes notifications"| node_notifications
node_app -.->|"uses shared utilities"| node_core
node_core -.->|"includes analytics"| node_analytics
node_core -.->|"includes Firebase"| node_firebase

click node_app "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift"
click node_auth "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/AuthFeature"
click node_attendance "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/AttendanceFeature"
click node_home "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/HomeFeature"
click node_stamp "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/StampFeature"
click node_poke "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/PokeFeature/Sources/PokeNotificationScene/PokeNotificationViewController.swift"
click node_web "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/WebFeature"
click node_notifications "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/RootFeature/Sources/NotificationHelpers/NotificationHandler.swift"
click node_domain_usecases "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/UseCase"
click node_domain_models "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/Model"
click node_repository_interfaces "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/RepositoryInterface"
click node_repositories "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Data/Sources/Repository"
click node_transforms "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Data/Sources/Transform"
click node_network "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Modules/Networks/Sources/Foundation/BaseService.swift"
click node_auth_service "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift"
click node_core "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Core/Sources"
click node_analytics "https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Core/Sources/Amplitude/AmplitudeEventType.swift"
click node_firebase "https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Core/Sources/Firebase"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_auth,node_attendance,node_home,node_stamp,node_poke,node_web,node_notifications toneBlue
class node_domain_usecases,node_domain_models,node_repository_interfaces toneAmber
class node_repositories,node_transforms,node_network,node_auth_service toneMint
class node_core,node_analytics,node_firebase toneRose
class node_user toneIndigo
```

## Components

### App and features

- [App shell](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift): `SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift`
- [Authentication](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/AuthFeature): `SOPT-iOS/Projects/Features/AuthFeature`
- [Attendance](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/AttendanceFeature): `SOPT-iOS/Projects/Features/AttendanceFeature`
- [Home and services](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/HomeFeature): `SOPT-iOS/Projects/Features/HomeFeature`
- [Missions and ranking](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/StampFeature): `SOPT-iOS/Projects/Features/StampFeature`
- [Member discovery](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/PokeFeature/Sources/PokeNotificationScene/PokeNotificationViewController.swift): `SOPT-iOS/Projects/Features/PokeFeature/Sources/PokeNotificationScene/PokeNotificationViewController.swift`
- [Web product access](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Features/WebFeature): `SOPT-iOS/Projects/Features/WebFeature`
- [Push and routing](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Features/RootFeature/Sources/NotificationHelpers/NotificationHandler.swift): `SOPT-iOS/Projects/Features/RootFeature/Sources/NotificationHelpers/NotificationHandler.swift`

### Domain logic

- [Use cases](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/UseCase): `SOPT-iOS/Projects/Domain/Sources/UseCase`
- [Domain models](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/Model): `SOPT-iOS/Projects/Domain/Sources/Model`
- [Repository contracts](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Domain/Sources/RepositoryInterface): `SOPT-iOS/Projects/Domain/Sources/RepositoryInterface`

### Data and networking

- [Repositories](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Data/Sources/Repository): `SOPT-iOS/Projects/Data/Sources/Repository`
- [Data transforms](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Data/Sources/Transform): `SOPT-iOS/Projects/Data/Sources/Transform`
- [Network services](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Modules/Networks/Sources/Foundation/BaseService.swift): `SOPT-iOS/Projects/Modules/Networks/Sources/Foundation/BaseService.swift`
- [Core auth service](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift): `SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift`

### Shared platform

- [Shared app services](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Core/Sources): `SOPT-iOS/Projects/Core/Sources`
- [Analytics](https://github.com/sopt-makers/sopt-ios/blob/develop/SOPT-iOS/Projects/Core/Sources/Amplitude/AmplitudeEventType.swift): `SOPT-iOS/Projects/Core/Sources/Amplitude/AmplitudeEventType.swift`
- [Firebase services](https://github.com/sopt-makers/sopt-ios/tree/develop/SOPT-iOS/Projects/Core/Sources/Firebase): `SOPT-iOS/Projects/Core/Sources/Firebase`

### Other components

- **Member or visitor**

## Connections

- Member or visitor → App shell: opens app
- Member or visitor → Authentication: signs in
- Member or visitor → Attendance: checks attendance
- Member or visitor → Home and services: browses services
- Member or visitor → Missions and ranking: completes missions
- Member or visitor → Member discovery: discovers members
- Member or visitor → Web product access: opens web content
- App shell → Authentication: routes to
- Use cases → Repository contracts: uses contracts
- Repositories → Repository contracts: implements (evidence: `SOPT-iOS/Projects/Data/Sources/Repository/CoreAuthRepository.swift`)
- Repositories → Core auth service: calls (evidence: `SOPT-iOS/Projects/Data/Sources/Repository/CoreAuthRepository.swift`)
- Core auth service → Network services: uses base service (evidence: `SOPT-iOS/Projects/Modules/Networks/Sources/Service/CoreAuthService.swift`)
- Repositories → Data transforms: maps data
- Repositories → Domain models: returns models (evidence: `SOPT-iOS/Projects/Data/Sources/Repository/CoreAuthRepository.swift`)
- App shell → Push and routing: routes notifications
- App shell → Shared app services: uses shared utilities (evidence: `SOPT-iOS/Projects/Features/TabBarFeature/Sources/Controller/TabBarController.swift`)
- Shared app services → Analytics: includes analytics (evidence: `SOPT-iOS/Projects/Core/Sources/Enum/TabBarItemType.swift`)
- Shared app services → Firebase services: includes Firebase
