{"id":15629834,"url":"https://github.com/nsoojin/minisuperapp-fastcampus","last_synced_at":"2025-04-09T09:08:22.948Z","repository":{"id":51252722,"uuid":"417476814","full_name":"nsoojin/MiniSuperApp-fastcampus","owner":"nsoojin","description":"슈퍼앱 운영을 위한 확장성 높은 앱 아키텍처 구축 by 노수진 https://fastcampus.co.kr/dev_red_rsj","archived":false,"fork":false,"pushed_at":"2021-11-18T23:46:49.000Z","size":1675,"stargazers_count":286,"open_issues_count":1,"forks_count":99,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-02T07:08:34.202Z","etag":null,"topics":["app-architecture","ios-app","ios-architecture","ribs","superapp","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsoojin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-15T11:35:03.000Z","updated_at":"2025-02-21T05:00:18.000Z","dependencies_parsed_at":"2022-09-25T11:42:51.788Z","dependency_job_id":null,"html_url":"https://github.com/nsoojin/MiniSuperApp-fastcampus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsoojin%2FMiniSuperApp-fastcampus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsoojin%2FMiniSuperApp-fastcampus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsoojin%2FMiniSuperApp-fastcampus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsoojin%2FMiniSuperApp-fastcampus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsoojin","download_url":"https://codeload.github.com/nsoojin/MiniSuperApp-fastcampus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app-architecture","ios-app","ios-architecture","ribs","superapp","swift"],"created_at":"2024-10-03T10:29:11.225Z","updated_at":"2025-04-09T09:08:22.932Z","avatar_url":"https://github.com/nsoojin.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://fastcampus.co.kr/dev_red_rsj?utm_source=soojin-github\u0026utm_medium=readme\u0026utm_campaign=soojin\"\u003e\n  \u003cimg src=\"https://soojin.ro/assets/posts/fastcampus-0.png\" /\u003e\n\u003c/a\u003e\n\n\u003cdiv align = \"center\"\u003e\n  \u003ca href=\"https://fastcampus.co.kr/dev_red_rsj?utm_source=soojin-github\u0026utm_medium=readme\u0026utm_campaign=soojin\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/강의-패스트캠퍼스-red?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://soojin.ro\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/iOS개발자-노수진-orange?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/nsoojin/MiniSuperApp-fastcampus\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/실습 프로젝트-미니슈퍼앱-378805?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/nsoojin/MiniSuperApp-fastcampus/discussions/categories/아무-질문이나-환영합니다\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/질문-환영-ffda00?style=flat\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n### \"모바일 개발자에게 확장성(scalability)이란\n\n모바일 팀과 앱의 규모가 계속 커져도 사용자 경험과 개발자 경험 모두를 안정적으로 유지하는 것이라고 생각합니다.\n\n개발자의 기술력은 개발 과정에서 발생하는 병목 현상을 얼마나 잘 처리하는지에서 보여지죠. 서버의 경우에는 많은 사용자가 몰릴 때 병목 현상이 발생하지만, 모바일의 경우에는 하나의 프로그램에 다수의 개발자들의 코드가 몰릴 때 병목이 발생한다고 볼 수 있습니다.\"\n\n관련글: [모바일 개발자에게 scalability란 뭘까](https://soojin.ro/blog/scalability)\n\u003cbr\u003e\n\n# 강의 내용\n\n### 1부. 코드 레벨 아키텍처: 재사용 가능한 코드를 만드는 스킬\n\n객체를 작게 만들고, 작은 객체를 조합해서 복잡한 기능으로 합치는 것이 아키텍처의 시작입니다. Massive View Controller, Massive View Model, Massive Interactor는 아키텍처만의 문제가 아니라 개발자의 [composition](https://en.wikipedia.org/wiki/Object_composition) 활용 능력에 따라 달라질 수 있습니다. Composition이 강력한 아키텍처 프레임워크 RIBs를 기반으로 미니 슈퍼앱을 만들어봅니다.\n\n관련1: [스위프트로 다시보는 객체지향 프로그래밍: 피해야할 코딩 습관](https://soojin.ro/blog/solid-principles-in-swift)\n\u003cbr\u003e\n관련2: [개발자와 라면 조리법](https://soojin.ro/blog/programmer-and-ramyun)\n\u003cbr\u003e\n관련3: [google/promises를 활용한 스위프트 비동기 프로그래밍과 에러 핸들링](https://soojin.ro/blog/using-google-promises-swift)\n\n### 2부. 모듈 레벨 아키텍처: 유지 보수와 개발 속도를 고려하는 모듈화\n\n'느슨하게 결합된 모듈 구조'는 '확장성 있는 아키텍처'와 같은 말이나 다름없습니다. 200명의 iOS 앱 개발자가 기여하는 슈퍼앱 그랩, 약 75명이 기여하는 [에어비엔비](https://medium.com/airbnb-engineering/designing-for-productivity-in-a-large-scale-ios-application-9376a430a0bf) 같은 회사의 개발자들이 생산성을 지킬 수 있는 방법입니다. 왜 모듈화를 하면 빌드 시간이 줄어들어서 생산성이 오르는지 원리를 알아보고, 실습을 통해 미니 슈퍼앱에 적용해봅니다.\n\n관련1: [모바일 앱의 느슨한 결합](https://soojin.ro/blog/loose-coupling)\n\u003cbr\u003e\n관련2: [Sourcery 개발자로부터 배우는 모바일 아키텍처와 개발자 경험](https://soojin.ro/blog/pragmatic-programmer)\n\n### 3부. 자동화 테스팅\n\n현업 개발자들이 테스트를 처음 시작하기 어려운 이유는 레거시 코드가 테스트 불가능한 구조로 짜여져 있기 때문입니다. 하지만 실습에서 짜는 코드는 99% 테스트 가능한 코드입니다. 테스트 가능한 코드의 특징을 한번이라도 익히고 직접 테스트를 작성해보면 레거시 코드에 조금씩 도입하기도 쉽습니다. 유닛테스트, 스냅샷테스트, UI테스트, 통합테스트를 작성해봅니다.\n\n관련1: [테스트와 좋은 설계의 관계, 그리고 나쁜 설계의 영향](https://soojin.ro/blog/tests-and-design)\n\u003cbr\u003e\n관련2: [테스트 코드 작성하면 좋은 점](https://soojin.ro/blog/writing-test-code)\n\u003cbr\u003e\n관련3: [uber/RIBs 유닛 테스트 짜기](https://soojin.ro/blog/unit-testing-ribs)\n\u003cbr\u003e\n관련4: [XCTest 소요시간 단축하기](https://soojin.ro/blog/application-library-test)\n\n### 4부. 확장성 있는 인프라: 코드만으로 해결할 수 없는 문제들\n\n확장성 있는 아키텍처를 만들고 유지하려면 코드 뿐 아니라 개발 프로세스도 뒷받침해줘야 합니다. 피쳐플래그와 품질 모니터링을 도입해서 얻을 수 있는 것들과 제가 경험해본 좋은 개발 문화 사례를 공유합니다.\n\n관련1: [앱 안정성을 향한 끊임없는 여정](https://soojin.ro/blog/journey-to-app-stability)\n\u003cbr\u003e\n관련2: [팀워크](https://soojin.ro/blog/teamwork)\n\u003cbr\u003e\n관련3: [개인과 팀이 성장하는 모바일 개발 환경](https://soojin.ro/blog/mobile-platform)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsoojin%2Fminisuperapp-fastcampus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsoojin%2Fminisuperapp-fastcampus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsoojin%2Fminisuperapp-fastcampus/lists"}