Issues

Select view

Select search mode

 

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:

core-base/ └── network/ ├── KtorfitClient.kt ├── NetworkModule.kt ├── BaseApiService.kt └── NetworkConfig.kt

🧰 Tech Stack:

  • Kotlin Multiplatform

  • Ktorfit

  • Ktor Client

  • Kotlinx Serialization

Details

Assignee

Reporter

Priority

More fields

Created 1 hour ago
Updated 1 hour ago

Activity

Show: