Skip to content

imransolanki/Kotlin-Microservices-Starter-Kit

Repository files navigation

Description

Starter project with easy to understand microservice developed using below libraries

  • ktor - A Kotlin framework for building asynchronous servers and clients in connected systems
  • 💉 koin - A lightweight dependency injection framework for Kotlin with a simple and flexible API
  • 🗄️ exposed - A Kotlin SQL library providing both DSL and DAO-based database access
  • 🔀 either - A Kotlin implementation of the Either monad for handling computations that can result in either success or failure
  • ⚙️ hoplite - A Kotlin library for loading and managing configuration in a type-safe manner from various formats
  • 🧪 kotest - A Kotlin testing framework that provides a flexible and expressive test structure with various matchers and property-based testing

Features

  • Simple, modular architecture for microservices.
  • Configurable and scalable components.
  • Follows best practices for Kotlin development.

Setup

  • Clone the repository
  • Install PostgresSQL database server and create a DB using details mentioned in `application.yaml
  • Install dependencies with gradle
  • Run services using ./gradlew run

Reference Blog: Building High-Quality Microservices with Kotlin: Best Practices for Developers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages