Code for the article: https://medium.com/@Miqubel/your-first-node-js-app-with-kotlin-30e07baa0bf7#.gr6m4vrvw
Instructions
npm install
(will install dependencies)./gradlew build
(will compile Kotlin to JavaScript)npm start
(this runsnode node/index.js
)- Open the browser on http://localhost:3000/
All source code is inside src/main/kotlin/Main.kt