Skip to content

kugchennai/KtorServer-Mongo-Thymeleaf

Repository files navigation

Ktor Server CRUD App with MongoDB and Thymeleaf

Ktor MongoDB Thymeleaf

Description:

This Ktor application demonstrates basic CRUD (Create, Read, Update, Delete) operations using MongoDB as the database and Thymeleaf for rendering HTML views.

This app was created as part of the co-learning session

Luma Link: https://lu.ma/opk4nkdr

Subscribe to our events calender: https://lu.ma/kugchennai

Technologies:

  • Ktor
  • MongoDB
  • Thymeleaf
  • Programming Language Kotlin
  • Build Tool Gradle
  • NGROK for tunneling

Getting Started:

  1. Clone the repository:

    git clone [https://github.com/](https://github.com/)<your-username>/ktor-crud-app.git
  2. Install Mongo community edition and run the mongo server

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/#std-label-install-mdb-community-macos

  1. Gradle Build

    ./gradlew build
  2. Gradle Run

    ./gradlew run
  3. You will start seeing a screen like this if you have data in your db sample

  4. Visit the Databases.kt file to view the list of api's available

Contributing

Fork and Create a PR against this repo to contribute !

About

Sample app for Ktor server with Mongo & Thymeleaf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published