2.8 KiB
2.8 KiB
UserService
This project was created using the Ktor Project Generator.
Here are some useful links to get you started:
Features
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 |
| gRPC | Adds gRPC services to your Ktor server with kotlinx.rpc |
| Rate Limiting | Manage request rate limiting as you see fit |
| Kafka | Adds Kafka support to your application |
| Exposed | Adds Exposed database to your application |
| Dependency Injection | Enables dependency injection for your server |
| OpenTelemetry | Instruments applications with distributed tracing, metrics, and logging for comprehensive observability |
| Sessions | Adds support for persistent sessions through cookies or headers |
| Authentication | Provides extension point for handling the Authorization header |
| Authentication Basic | Handles 'Basic' username / password authentication scheme |
| Swagger | Serves Swagger UI for your project |
Structure
This project includes the following modules:
| Path | Description |
|---|---|
| null | |
| client | null |
| core | null |
| server | null |
Building & Running
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