{"id":22960751,"url":"https://github.com/cxwudi/realworld-compose-http4k-example-app","last_synced_at":"2025-04-19T10:54:43.126Z","repository":{"id":265752145,"uuid":"826482545","full_name":"CXwudi/realworld-compose-http4k-example-app","owner":"CXwudi","description":"An unfinished Conduit (https://github.com/gothinkster/realworld) example app developed in Compose Multiplatform and Http4k","archived":false,"fork":false,"pushed_at":"2025-04-14T23:51:39.000Z","size":3149,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T00:33:07.175Z","etag":null,"topics":["compose-multiplatform","decompose","exposed","http4k","koin","kotlin-multiplatform","kstore","mvikotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CXwudi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-09T19:44:20.000Z","updated_at":"2025-04-14T23:51:42.000Z","dependencies_parsed_at":"2024-11-30T19:56:04.854Z","dependency_job_id":"bfbf26b0-0fee-4492-8f1b-ada2fd080a2c","html_url":"https://github.com/CXwudi/realworld-compose-http4k-example-app","commit_stats":null,"previous_names":["cxwudi/realworld-compose-http4k-example-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXwudi%2Frealworld-compose-http4k-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXwudi%2Frealworld-compose-http4k-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXwudi%2Frealworld-compose-http4k-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXwudi%2Frealworld-compose-http4k-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CXwudi","download_url":"https://codeload.github.com/CXwudi/realworld-compose-http4k-example-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249678360,"owners_count":21309724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compose-multiplatform","decompose","exposed","http4k","koin","kotlin-multiplatform","kstore","mvikotlin"],"created_at":"2024-12-14T18:40:41.242Z","updated_at":"2025-04-19T10:54:43.108Z","avatar_url":"https://github.com/CXwudi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![RealWorld Example App](logo.png)\n\n\u003ch3\u003e2024.10 Update: I am going to implement a minimal set of features in frontend first, more info in \u003ca href=https://github.com/gothinkster/realworld/discussions/1545#discussioncomment-10984982\u003ethis discussion\u003c/a\u003e\u003c/h3\u003e\n\n\u003e \u003ch3\u003eCompose Multiplatform + http4k codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the \u003ca href=\"https://github.com/gothinkster/realworld\"\u003eRealWorld\u003c/a\u003e spec and API. \u003c/h3\u003e\n\n| Phone | Desktop | Web|\n|---|---|---|\n| ![Phone App Screenshot](doc/screenshots/Screenshot_20240911_105149.png) | ![Desktop App Screenshot](doc/screenshots/Screenshot%202025-01-11%20230957.png) Click to enlarge | ![Web App Screenshot](doc/screenshots/Screenshot%202025-01-11%20231502.png) Click to enlarge |\n\nThis codebase was created to demonstrate a fully fledged fullstack application built with **[Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/)** and **[http4k](https://www.http4k.org/)** including CRUD operations, authentication, routing, pagination, and more.\n\nWe've gone to great lengths to adhere to the community styleguides \u0026 best practices of **Compose Multiplatform** and **http4k**.\n\nFor more information on how this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.\n\n## How it works\n\nThe project is divided into 4 modules:\n\n1. [`conduit-common`](./conduit-common) - the shared code between the client and the server.\n2. [`conduit-frontend`](./conduit-frontend) - the KMP client source code.\n3. [`conduit-backend`](./conduit-backend) - the server source code.\n4. [`build-src`](./build-src) - shared Gradle build logic, including the [version catalog](./build-src/libs.versions.toml) that is used globally across the project.\n\n## Develop\n\nInstall Android Studio and IntelliJ IDEA, then:\n\n- Frontend: Open the `conduit-frontend` directory in Android Studio.\n- Backend: Open the `conduit-backend` directory in IntelliJ IDEA.\n\n### About Frontend\n\nFor frontend development, you need to follow this [guide](https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-setup.html#check-your-environment) to set up the Compose Multiplatform development environment.\n\n`conduit-frontend` declares all 4 platforms of JVM, Android, JS, and iOS. However, iOS is only declared in Gradle but not developed since I don't have a Mac machine.\n\n`conduit-frontend` contains multiplatform tests that run on all 4 platforms. However, tests on the JS platform require a browser, so far `useChromiumHeadless()` is defined in [`kmp-library.gradle.kts`](build-src/plugins/multiplatform-library/src/main/kotlin/my/kmp-library.gradle.kts), which means you need to install Chromium for running tests on the JS platform. If you already have a Chrome browser, feel free to change to `useChromeHeadless()`(or `useFirefox()` and others) for your convenience.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxwudi%2Frealworld-compose-http4k-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxwudi%2Frealworld-compose-http4k-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxwudi%2Frealworld-compose-http4k-example-app/lists"}