https://github.com/comchangs/ktor-easy-spa
A feature of ktor for setting up single page application like Angular, React and so on
https://github.com/comchangs/ktor-easy-spa
angular feature kotlin ktor ktor-framework react single-page-app single-page-applications spa
Last synced: 3 months ago
JSON representation
A feature of ktor for setting up single page application like Angular, React and so on
- Host: GitHub
- URL: https://github.com/comchangs/ktor-easy-spa
- Owner: comchangs
- License: mit
- Created: 2019-07-06T11:52:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-28T06:41:34.000Z (8 months ago)
- Last Synced: 2025-07-28T08:32:01.357Z (8 months ago)
- Topics: angular, feature, kotlin, ktor, ktor-framework, react, single-page-app, single-page-applications, spa
- Language: Kotlin
- Homepage: https://murry.jeong.work/ktor-easy-spa
- Size: 60.5 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ktor-easy-spa
A feature of ktor for setting up single page application like Angular, React and so on
[](https://search.maven.org/search?q=g:%22work.jeong.murry.ktor.features%22%20AND%20a:%22ktor-easy-spa%22)
## Setting
### Gradle Kotlin DSL
```groovy
compile("work.jeong.murry.ktor.features:ktor-easy-spa:1.0.1")
```
### Maven
```xml
work.jeong.murry.ktor.features
ktor-easy-spa
1.0.1
```
### Gradle
```groovy
dependencies {
implementation("work.jeong.murry.ktor.features", "ktor-easy-spa", "1.0.1")
}
```
## Usage
Just install the feature in your application with:
```kotlin
install(EasySpaFeature)
```
or
```kotlin
install(EasySpaFeature) {
staticRootDocs = "./htdocs"
defaultFile = "index.html"
apiUrl = "/api"
}
```