🏢 This is an app to search corporate info
Experiment with an engaging approach for iOS app development
The Composable Architecture
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
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
security add-generic-password -a NATIONAL-TAX-AGENCY -w ${NTA_API_KEY} -s NTA-API-KEY