An open API service indexing awesome lists of open source software.

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.

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)