Details
Assignee
UnassignedUnassignedReporter
Rajan MauryaRajan MauryaPriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Rajan Maurya
Rajan MauryaPriority
More fields
More fields
More fields
Created March 30, 2025 at 4:58 AM
Updated March 30, 2025 at 4:58 AM
Create a new
core-base:network
module to encapsulate the foundational networking layer using Ktorfit. This module will provide reusable abstractions and base setup for all networking-related operations across the app, ensuring consistency, maintainability, and clean separation of concerns.This base network module will serve as the backbone for all feature modules that interact with remote data sources, and can be extended or overridden as needed per platform or feature.
✅ Acceptance Criteria:
Create a new Kotlin Multiplatform module:
core-base:network
Set up Ktorfit as the primary networking client
Add a
BaseApiService
or similar interface with core configurations (base URL, timeout, interceptors)Implement a reusable
HttpClientProvider
or factory functionConfigure JSON serialization using Kotlinx Serialization
Add extension functions or helpers for API error handling and response wrapping
Write basic usage documentation for consuming modules
📂 Suggested Structure:
🧰 Tech Stack:
Kotlin Multiplatform
Ktorfit
Ktor Client
Kotlinx Serialization