Starter project for Kotlin microservice on AWS Lambda
Features:
- CircleCI config
- Serverless framework
- Kotlin Gradle DSL
- TestNG
- KotlinTest
- Koin
This repo is configured as a template repo. Use this guide to create a new repo using it.
After creating your repo, rename the following:
service
inserverless.yml
to the name of your servicerootProject.name
insettings.gradle.kts
to the name of your service
CircleCI is already configured with a test and deployment workflow. Simply import the project into CircleCI and it'll work.
To manually deploy, use ./gradlew deploy
to deploy to dev or ./gradlew deployPrd
to deploy to prd.