Ktor-Sample

This is a sample project that shows you how you can use Ktor to creat a server for real Project.

What is done

  • Save data to database
  • (Get and Delete) data from database
  • Save images in a sprated file
  • Delete images from the file on the server

Tech stack

  • Ktor
  • mysql-connector – to connect Ktor with Database
  • serialization – Serializing/deserializing the content in JSON format
  • Ktorm – lightweight and efficient ORM Framework for Kotlin directly based on pure JDBC.
  • Ngrok this project was running on my local laptop so i used ngrok to redirect the requests to a public route to use the URL in the android app.

GitHub

View Github