Skip to content

thien-codev/repository-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository Collection
SwiftUI & Clean Architecture & MVVM

repository_collection

Installation

To install the application, follow these steps:

  1. Clone the repository: https://github.com/thien-codev/repository-collection
  2. Navigate to the project: "cd repository-collection"
  3. Open the project
  4. Build

Layers

  • Domain Layer = Entities + Use Cases + Repositories Interfaces
  • Data Repositories Layer = Repositories Implementations + APIEndpoint + Persistence DB
  • Presentation Layer (MVVM) = ViewModels + Views

Includes

  • SwiftUI
  • Pagination
  • Unit Tests (not yet)
  • UI Tests (not yet)

Infrastructure

Infrastructure contains networking interface and default network service using Alamofire. You can create your own network service.

How to use app

Input a valid userId of Github to get list of his/her repositories. The network will request the github api. If getting successful responses, they will be stored persistently.

Requirements

  • Xcode Version 15.0+ Swift 5.0+

Note: Domain Layer should not include anything from other layers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages