An example of light weight isomorphic web application using akka-http
as a back-end framework and React
as a front-end framework. Nashorn or J2V8 is used for server rendering.
- Java >= 1.8.0_144
- NodeJs >= 6.11.3
- sbt >= 1.0.2
$ cd [working directory]
$ ./sbt
> run
Then open http://localhost:8080/ in your browser.
$ cd [working directory]
$ ./sbt
> assembly
assembly
task will compile your project, run your tests, and then pack your class files, all your dependencies and webapp resources into a single JAR file: target/scala_X.X.X/projectname-assembly-X.X.X.jar. If you want more configurable, please have a look at sbt-assembly.
Have a bug or an issue with this template? Open a new issue
Code released under the Unlicense license