Skip to content

liadatz/taskManager

Repository files navigation

taskManager version-image

RESTful Server project created for Computer Science department in Ben Gurion University.

How it works

The application was built with:

  • Kotlin as programming language
  • Ktor as web framework
  • Exposed as Sql framework to persistence layer
  • SQLite as database

API

SwaggerHub API

Getting started

You need just JVM installed.

The server is configured to start on 8080.

Use the build tool Gradle to build project.

Build:

./gradlew clean build

Start the server:

./gradlew run

Modifications

Currently, previous database isn't dropped if exists when initiating the server. If you wish to change this option switch the next line in Application.kt:

MyDatabase.createTables(false)

To:

MyDatabase.createTables(true)