Skip to content

Latest commit

 

History

History

mongodb

MongoDB sample for Ktor Server

An application for creating, editing and deleting articles that uses Mongodb running on Docker image as a storage.

Steps

  1. Execute gradle task databaseInstance and wait until Docker Compose builds image and starts container

  2. Execute this command to run the sample:

./gradlew run

Then, you can open http://localhost:8080/ in a browser to create, edit, and delete articles.