Skip to content

About

Sample projects for Ktor

Resources

Stars

1.6k stars

Watchers

35 watching

Forks

Latest commit

 

History

626 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

official JetBrains project

Samples for Ktor

A collection of ready-to-use samples for Ktor. If you're looking for older samples, please see our note on Docs and Samples Migration.

Applications

  • chat - A Chat application written using WebSockets and Sessions.
  • fullstack-mpp - An example of using Ktor as a client and server in a Kotlin Multiplatform project.
  • httpbin - HttpBin application implementing (large parts of) httpbin(1) HTTP request & response service.
  • kweet - A messaging application that uses FreeMarker templates and the Locations plugin.
  • reverse-proxy - A simple reverse proxy application.
  • reverse-proxy-ws - A reverse proxy application written using WebSockets.
  • youkube - A video upload/view application.
  • version-diff - An application showing the difference between artifacts in two versions of a project.
  • postgres - An application for creating, editing and deleting articles that uses Postgres database running on Docker image as a storage.
  • mongodb - An application for creating, editing and deleting articles that uses Mongodb running on Docker image as a storage.
  • mvc-web - An application for adding and removing wishes to wishlist that uses FreeMarker templates and Exposed.
  • opentelemetry - An application that uses Kotlin DSL to work with OpenTelemetry Ktor plugins.

Server

Client

Deployment

Testing

  • jwt-auth-tests - Shows how to write tests for RSA-signed JWT secured endpoints.

License

Samples are provided as is under the Apache 2 OSS license.

About

Sample projects for Ktor

Resources

Stars

1.6k stars

Watchers

35 watching

Forks

Releases

Packages

Used by

Contributors

Languages