在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Kotlin/full-stack-web-jetbrains-night-sample开源软件地址(OpenSource Url):https://github.com/Kotlin/full-stack-web-jetbrains-night-sample开源编程语言(OpenSource Language):Kotlin 97.6%开源软件介绍(OpenSource Introduction):kotlin-full-stack-application-demoFork of https://github.com/mkraynov/kfsad with the new Kotlin/JS Gradle Plugin A full-stack demo application written in Kotlin for JetBrains Night Moscow 2019. Run application
Distribution
DescriptionThis application displays a feed containing user-generated posts and comments. All data is stubbed by the fakeJSON and JSON Placeholder services. It is a Kotlin Multiplatform project. It uses:
During application startup posts are preloaded to the in-memory database from the fakeJSON (or JSON Placeholder) service. When the user requests the page, several posts are selected from the DB and the corresponding comments are fetched via the multi-platform HTTP client. Posts with comments are served to the client via RPC. After the initial render is done, information about authors is fetched via the client-side HTTP client and rendered after all coroutines terminate successfully. The "Load more comments" button fetches additional comments for the post using the multi-platform HTTP client. This application has no error handling and has very limited RPC serialization. It's not meant for production use and serves only as a technology example. Contact informationPlease refer original repo: https://github.com/mkraynov/kfsad |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论