https://github.com/retheviper/filetransporter
A simple file transfer service.
https://github.com/retheviper/filetransporter
compose-web gradle-kotlin-dsl kotlin ktor-client ktor-server
Last synced: 9 months ago
JSON representation
A simple file transfer service.
- Host: GitHub
- URL: https://github.com/retheviper/filetransporter
- Owner: retheviper
- Created: 2022-09-30T13:21:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T10:28:56.000Z (over 3 years ago)
- Last Synced: 2025-04-13T05:55:21.453Z (about 1 year ago)
- Topics: compose-web, gradle-kotlin-dsl, kotlin, ktor-client, ktor-server
- Language: Kotlin
- Homepage:
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File transporter
## TL;DR
A simple file transfer service by Full Stack of Kotlin.
## Used
- [Compose for Web](https://compose-web.ui.pages.jetbrains.team/)
- [Ktor](https://ktor.io/)
- [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization)
## How to run
Run the following command:
```bash
./gradlew run
```
Then, you can access to http://localhost:8080 or http://0.0.0.0:8080.
## Change the base path
change the `ROOT_DIRECTORY`'s value in `commonMain/kotlin/com/retheviper/file/transporter/constant/Constants.kt`.
## References
- [Full Stack JVM & JS App Hands-On Lab](https://github.com/kotlin-hands-on/jvm-js-fullstack/tree/final)
- [Compose Web Landing Page](https://github.com/JetBrains/compose-jb/tree/master/examples/web-landing)