AkkeyLab / c-search-tca

🏢 This is an app to search corporate info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c-search-tca

🏢 This is an app to search corporate info

Goal

Experiment with an engaging approach for iOS app development
The Composable Architecture

Dependencies

flowchart TB
  subgraph Project
    App<-->View
    subgraph Package
      subgraph Presentation Layer
        ViewStore(ViewStore)-->View
        View-->Action
      end
      subgraph Domain Layer
        State(State)-->ViewStore
        Reducer(Reducer)-->State
        Action(Action)-->Reducer
        Reducer-->Effect
        Effect(Effect)-->Action
        UseCase<-->Effect
        UseCase<-->Gateway
      end
      subgraph Data Layer
        ApiRequest<-->Gateway
      end
    end
  end
Loading

Testing

flowchart LR
  ApiRequest--Decode test-->Gateway
  Gateway --Exchange test--> UseCase
  UseCase --Business logic test--> UseCase
  UseCase-.-Effect(Effect)
  subgraph Reducer
    Action(Action)--Business logic test-->State(State)
    Action-.->Effect
  end
  Effect-.->Action
Loading

Set environment variables

security add-generic-password -a NATIONAL-TAX-AGENCY -w ${NTA_API_KEY} -s NTA-API-KEY

About

🏢 This is an app to search corporate info

License:MIT License


Languages

Language:Swift 99.4%Language:Shell 0.6%