This project was created using the Ktor Project Generator.
Here are some useful links to get you started:
Here's a list of features included in this project:
| Name | Description |
|---|---|
| kotlinx.serialization | Handles JSON serialization using kotlinx.serialization library |
| Content Negotiation | Provides automatic content conversion according to Content-Type and Accept headers |
| kotlinx.rpc | Adds remote procedure call (RPC) routing |
| Status Pages | Provides exception handling for routes |
| Call Logging | Logs client requests |
This project includes the following modules:
| Path | Description |
|---|---|
| null | |
| client | null |
| core | null |
| server | null |
To build or run the project, use one of the following tasks:
| Task | Description |
|---|---|
./gradlew :server:test |
Run the tests |
./gradlew :server:build |
Build the project |
./gradlew :server:run |
Run the server |
If the server starts successfully, you'll see the following output:
2024-12-04 14:32:45.584 [main] INFO Application - Application started in 0.303 seconds.
2024-12-04 14:32:45.682 [main] INFO Application - Responding at http://0.0.0.0:8080