This project is an application skeleton for a typical Node.js app written entirely with Kotlin.
https://kotlin-nodejs.herokuapp.com/
- express.js to run server and routing
- ejs templating engine for express.js
- Kotlin Dependencies
- kotlin-js to compile/trans-compile kotlin to js
$ gradlew.bat build
$ ./gradlew build
$ ./gradlew :backend:nodeRun
$ ./gradlew :webapp:browserDevelopmentRun -t
This project consist of three modules:
- backend
- this is where server-side node.js implementation exists
- common
- consists of shared implementations between back-end and front-end
- do not include any secrets in this module as it is share with front-end
- webapp
- this is the front-end module that renders the single page application
https://kotlinlang.org/docs/reference/js-overview.html
add frontend frameworkuse jetbrains frontend plugin for dependency management and hot-reload- add unit tests
- add end-to-end tests