A GitHub repository template for a bare-bone Kotlin/JS-based browser application.
- Gradlew-wrapper-based project
- No frontend frameworks, just vanilla JS
- Kotlin 2.1.20
- Test infrastructure based on Karma + headless Chromium
- Basic CI/CD
- Dependabot weekly checks
You need JDK 21 installed to be able to build and run the template project.
- Tap the Use this template button
- Complete repository creation using the template
- Wait a couple of seconds until the Template Cleanup workflow does its job
- Clone a re-initialized repository
Use Run (Browser) and Test (Browser) pre-configured run configurations to run and test your app accordingly:
To build and run your app use
./gradlew :jsBrowserDevelopmentRun
To run tests use
./gradlew :jsBrowserTest
Tip
You can find more information about running and testing your Kotlin/JS app in the official documenation pages: