/ktor-webapi

An example of Ktor web framework for a Web API

Primary LanguageKotlin

Introduction

This project is an example of Ktor web framework for a Web API.

The database engine used by the project is H2Database.

Getting Started

To start the Ktor server run the following commands:

  • Install dependencies with ./gradlew
  • Build executables with ./gradlew build
  • Start Ktor server with ./gradlew run

Now you can visit http://127.0.0.1:8080/api from your browser.