Skip to content

This is a backend application. It is built with Kotlin and Ktor, it also uses Ktorm as ORM. This application is built to be used with android app called Masjed-Jetpack-Compose.

Notifications You must be signed in to change notification settings

MoatazBadawy/Masjed-ktor-backend

Repository files navigation

Masjed-ktor-backend

This is a backend application for Masjed project. It is built with Kotlin and Ktor, it also uses Ktorm as ORM. This application is built to be used with Masjed-Jetpack-Compose.

How it works

The application was built with:

  • Kotlin as programming language
  • Ktor as web framework
  • Koin as dependency injection framework
  • Jackson as data bind serialization/deserialization
  • HikariCP as datasource to abstract driver implementation
  • Ktorm as strong-typed and flexible SQL DSL and convenient sequence APIs to reduce our duplicated effort on database operations.

Structure

  + database/
      All database setups. fro MySql.
  + di/
      For Dependency injection modules.
  + plugins/
      App routing config.
  + server/
      Ktor routes and response.
  - App.kt <- The main class

Getting started

The server is configured to start on localhost 8080.

About

This is a backend application. It is built with Kotlin and Ktor, it also uses Ktorm as ORM. This application is built to be used with android app called Masjed-Jetpack-Compose.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages