{"id":15382249,"url":"https://github.com/jamowei/fritz2-ktor-todomvc","last_synced_at":"2025-04-15T19:28:46.177Z","repository":{"id":49869821,"uuid":"274973000","full_name":"jamowei/fritz2-ktor-todomvc","owner":"jamowei","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-09T12:45:49.000Z","size":150,"stargazers_count":56,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T00:05:23.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jamowei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-25T17:12:08.000Z","updated_at":"2024-01-14T06:07:00.000Z","dependencies_parsed_at":"2022-09-24T03:51:49.853Z","dependency_job_id":null,"html_url":"https://github.com/jamowei/fritz2-ktor-todomvc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-todomvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-todomvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-todomvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-todomvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamowei","download_url":"https://codeload.github.com/jamowei/fritz2-ktor-todomvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249137846,"owners_count":21218789,"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":[],"created_at":"2024-10-01T14:30:33.813Z","updated_at":"2025-04-15T19:28:46.158Z","avatar_url":"https://github.com/jamowei.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![fritz2](https://www.fritz2.dev/images/fritz2_logo_grey.png)\n\n# Ktor TodoMVC\n\nThis project is an example for using [fritz2](https://www.fritz2.dev/) with in a ktor web-application.\nIt will demonstrate how-to interact with a backend application in fritz2 and how-to setup this kind of project.\n\nThis project is a Kotlin [multiplatform](https://kotlinlang.org/docs/reference/multiplatform.html) project which contains everything.\nIn the `commonMain` section is the shared model and validation of the application.\nThe `jsMain` section contains the complete code of the client-application written with fritz2. \nThe backend part is in the `jvmMain` section where all the code for the server is.\n\nThis project uses the following libraries:\n* [fritz2](https://github.com/jwstegemann/fritz2) - mainly in the frontend, except validation and model in both sides\n* [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization) - used in frontend and backend for serializing the shared model\n* [Ktor](https://ktor.io/) - running the server with\n* [Exposed](https://github.com/JetBrains/Exposed) - making CRUD operations to the database\n* [H2 Database](https://www.h2database.com/html/main.html) - running as in-memory-db which stores the data\n\n# Features\n* running full-stack-example based on the [TodoMVC](http://todomvc.com/)\n* working validation provided by fritz2 extension on client- and server-side\n* complete gradle configuration\n* some tests\n\n# Run\nTo run this application you only need to run the following gradle task:\n```\n\u003e ./gradlew run \n``` \nThen navigate in your browser to [localhost:8080](http://localhost:8080/)\n\n# Contribution\nIf you like this example and how fritz2 works it would be great \nwhen you give us a \u0026#11088; at our [fritz2 github page](https://github.com/jwstegemann/fritz2).\n\nWhen you find some bugs or improvements please let us know by reporting an issue \n[here](https://github.com/jamowei/fritz2-spring-todomvc/issues).\nAlso, feel free to use this project as template for your own applications.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamowei%2Ffritz2-ktor-todomvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamowei%2Ffritz2-ktor-todomvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamowei%2Ffritz2-ktor-todomvc/lists"}