https://github.com/christian-draeger/korpus
https://github.com/christian-draeger/korpus
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/christian-draeger/korpus
- Owner: christian-draeger
- Created: 2024-11-28T13:03:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T14:03:49.000Z (10 months ago)
- Last Synced: 2025-03-19T06:40:21.575Z (8 months ago)
- Language: Kotlin
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Korpus
A Kotlin multiplatform project trying to create a smooth fullstack webapp development experience.
The Application uses Kotlin/Js on frontend and Kotlin/Jvm on backend,that uses kRPC with Ktor to communicate.
- [x] Ktor Server (Kotlin/Jvm)
- [x] kRPC
- [x] kotlinx-html
- [x] kotlinwind.css
- [x] Frontend (Kotlin/Js)
- [x] kRPC
- [x] react
- [x] emotion css
- [x] kotlinx-html
- [x] kotlinwind.css
- [x] Common code
- [x] kRPC
- [x] kotlinx-html
- [x] kotlinwind.css
### Running frontend
To run frontend in development mode, run this command:
```bash
./gradlew frontend:jsRun
```
The client webpack app will start on port 3000 and it will route API requests to http://localhost:8080
### Running server
To run server without compiling frontend, simply run `main` function in [Application.kt](/server/src/main/kotlin/codes/draeger/korpus/Application.kt) from IDEA UI.
To Run server with latest frontend use this command:
```bash
./gradlew server:runApp
```
Note that this configuration uses production distribution of frontend app, which makes each build slower, as it takes more time to compile production webpack.