Spring-Boot Kotlin template for new microservices

Related tags

Kotlin template
Overview

kotlin-ms-template

Spring-Boot Kotlin template for new microservices

  1. REST and GRPC ready
  2. Kafka producer/consumer ready
  3. Logs in JSON Format
  4. Base ready for audit log events system
  5. Open-Tracing propagation ready
  6. Metrics/Prometheus enabled
  7. Using Vault to retrieve security credentials

Running Local

docker-compose up and
$ ./gradlew clean build bootRun

Debugging Local

docker-compose up and
Run the TemplateAplication.kt main in your preferred IDE in debug mode and be happy. You must use profiles for enable some features.

Docker Image Build:

$ ./gradlew clean build bootBuildImage -x test

Lint

For linter checks, we're using ktlint alongside with Ktlint Gradle.

  • Checking lint
./gradlew ktlintCheck
  • Fixing lint on the project
./gradlew ktlintFormat

Ktlint on IntelliJ IDEA

In case you use IntelliJ IDEA, there's a plugin you can install that will help with daily basis development. To install it go to Preferences -> Plugins and search for ktlint and install it.

You should also generate IntelliJ IDEA Kotlin style files in the project .idea/ folder. In order to do it, run the following on a terminal

./gradlew ktlintApplyToIdea

Releasing version images:

We are using the github action: https://github.com/mathieudutour/github-tag-action

Every PULL-REQUEST will run the tests and generate the docker-image how the .github/workflows/pull_request.yaml describes.

To increase and generate a final version docker image, the merge.yaml file was respected.

The change log generated in github respect the:

https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines

CI/CD in Dev Environment

All patterns and standards that must be followed are in:

https://contaquanto.atlassian.net/wiki/spaces/EN/pages/2006155315/Tribe+Hylian

You might also like...
Utility - The cross-platform native Kotlin command line tool template

Utility The cross-platform native Kotlin command line tool template. Usage Make

Curie - Minecraft Forge Kotlin Template

Minecraft Forge Kotlin Template Minecraft 1.12.2 で Forge と Kotlin を用いた Mod のテンプレ

A server code template using Kotlin, Gradle, and Ktor

This project is a server code template using Kotlin, Gradle, and Ktor. It aims to help you build a service by providing reusable code examples that is likely essential for a server.

Spring Kotlin Design Patterns

Spring Kotlin Design Patterns This is a project for learning design patterns in Kotlin Sources 1- GURU Requirements Java 11+ IntelliJ IDEA / Netbeans

AndroidArchitecture - An Implementation of Google Recommended New Android Architecture with Kotlin
AndroidArchitecture - An Implementation of Google Recommended New Android Architecture with Kotlin

Android Architecture An Implementation of Google Recommended New Android Archite

Kotlin DALL·E 2 is a new AI system that can create realistic images and art from a description in natural language.
Kotlin DALL·E 2 is a new AI system that can create realistic images and art from a description in natural language.

OpenAI Dall•E AI Kotlin Mobile App OpenAI Dall•E Application Build With Kotlin MVVM (Model - View - ViewModel) Clean Architecture, Beautiful Design UI

Template (pure) for KMM application with DI support

KMM di template Template (pure) for KMM application with DI support. Uses Multiplatform-DI for Dependency Injection Features Common architecture (VIP)

Improved project template for Android Studio

Improved project template for Android Studio Unfortunately the default Android Studio template has a lot of unnecessary stuff that has to be removed e

A Template for a Github Actions Pipeline for building and publishing Gradle-JVM Applications

github-actions-cd-template-jvm A Template for a Github Actions Pipeline for building and publishing Gradle-JVM Applications It build a executable shad

Owner
null
Arrow-Maven-Template - A template project for Arrow with Maven. It defines an application and a couple small examples

Arrow-Maven-Template A template project for Arrow on Maven. See the official doc

ΛRROW 0 Jan 11, 2022
An Android template project (in Kotlin) with boilerplate and current patterns.

android-starter-v4 An Android template project (in Kotlin) with boilerplate and plumbing, exploring current architecture patterns. A bit too much for

Matthias Urhahn 14 Nov 4, 2022
Kotlin multiplatform library template.

template-kmp-library Kotlin multiplatform library template. Has a baseline setup for a multiplatform library supporting all kotlin targets except andr

Martynas Petuška 51 Nov 21, 2022
Kotlin Multiplatform Mobile App Template

KMMT : Kotlin Multiplatform Mobile Template Kotlin Multiplatform Mobile Development Simplified KMMT is a KMM based project template designed to simpli

Jitty Andiyan 207 Jan 4, 2023
A Kotlin Multiplatform and Compose template that allows you to easily set up your project targeting: Android, Desktop, and Web

A Kotlin Multiplatform and Compose template that allows you to easily set up your project targeting: Android, Desktop, and Web

Carlos Mota 3 Oct 27, 2021
🔨 Template for easy hosting of your Java/Kotlin libraries on GitHub

?? kotlin-jvm-library-template Another template for easy hosting your Java/Kotlin libraries on GitHub. Features boilerplate for Kotlin/Java projects w

Viktor 0 Jan 7, 2022
A template that utilizes both Scala and Kotlin because why not (And also because I endorse programming hell)

Fabric-Scala-Kotlin-template A template that utilizes both Scala and Kotlin because why not (And also because I endorse programming hell) I don't care

null 1 Dec 25, 2021
Kotlin multiplatform library template

template-kmp-library Kotlin multiplatform library template. Has a baseline setup for a multiplatform library supporting all kotlin targets except depr

Jamie Astley 0 Dec 6, 2021
Reusable login template to learn Kotlin & Android additional features

LogIn_Application reusable login template I started this project to learn Kotlin & Android additional features. This is LogIn Template App as part of

null 0 Dec 14, 2021
This is a Kotlin multiplatform template project used to generate and deploy a natively compiled AWS lambda function using the custom runtime.

Overview This is a Kotlin multiplatform template project used to generate and deploy a natively compiled AWS Lambda function using a custom runtime. U

Greg Steckman 5 Jun 25, 2022