Create core-base:network Module with Base Ktorfit Implementation

Description

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 function

  • Configure 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

Activity

Show:

Details

Assignee

Reporter

Priority

More fields

Created March 30, 2025 at 4:58 AM
Updated March 30, 2025 at 4:58 AM