Skip to content

CXwudi/realworld-compose-http4k-example-app

Repository files navigation

RealWorld Example App

Compose Multiplatform + http4k codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Compose Multiplatform and http4k including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the community styleguides & best practices of Compose Multiplatform and http4k.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

The project is divided into 4 modules:

  1. conduit-common - the shared code between the client and the server.
  2. conduit-frontend - the KMP client source code.
  3. conduit-backend - the server source code.
  4. build-src - shared Gradle build logic, including the version catalog that is used globally across the project.

Getting started

Install Android Studio and IntelliJ IDEA, then:

  • Frontend: Open the conduit-frontend directory in Android Studio.
  • Backend: Open the conduit-backend directory in IntelliJ IDEA.

For frontend development, you need to follow this guide to set up the Compose Multiplatform development environment.