Save money and improve UX by using CDN and browser cache - Typee Design

Situation A custom Typee deployment generates app configuration by a AWS Lambda. But there are some drawbacks: AWS Lambda has high delay when code start is required. Each refresh of a custom Typee deployment costs a AWS Lambda call and DynamoDB call. But the configuration actually changes less frequently. Solution I told myself as MVP I shouldn’t keep it simple and brutal, but I failed to convinced myself. First version I firstly put the Lambda behind Cloudfront(CDN)....

September 10, 2023 · 2 min · 245 words · Murmurs Dev

Complete Guide to Auto Publish Kotlin Package to Maven Central Repository

In this blog post, we will guide you through the process of automatically publishing your Kotlin package to the Maven Central Repository. Follow the steps below to ensure a seamless setup. 1. Obtain a Sonatype OSSRH Account To start, you need a Sonatype OSSRH (OSS Repository Hosting) account. Sign up for one by following this publish guide. 2. Meet Maven Central Publishing Requirements Before you can publish a package to Maven Central, you must satisfy certain requirements....

April 18, 2023 · 4 min · 788 words · Murmurs Dev

Kapper, A New Kotlin Model Mapper

Kapper Kapper is a code generator for Kotlin that simplifies mapping between data classes. It was designed to map one class to a interface which has multiple implementations. Usage Installation Add the following to your build.gradle.kts file: dependencies { implementation("dev.murmurs.kapper:kapper:0.0.1") } Example Given the following data classes: data class User( val id: Int, val name: String, val email: String, val address: Address, ) data class UserDto( val id: Int, val name: String, val email: String, ) Kapper can generate a mapper that converts a User to a UserDto:...

April 6, 2023 · 2 min · 270 words · Murmurs Dev