FAQ Repository
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Data component that stores and retrieves FAQ question-answer pairs with category metadata. Supports backend fetch via REST API and local cache persistence so content is available offline. Enables Norse staff to update FAQ content without requiring an app release.
faq-repository
Responsibilities
- Fetch FAQ entries from backend REST API
- Persist fetched entries to local cache
- Return cached entries when offline
- Provide category-grouped and flat access to entries
Interfaces
getAll()
getByCategory(category)
saveToCache(entries)
loadFromCache()