GitHub - philihp/play-java-react-seed

Please do not use me, I probably don't work anymore. Instead, check out this seed, which is currently under active development:

https://github.com/yohangz/java-play-react-seed


Boilerplate Play and Reactive seed

CircleCI Build

A minimal seed template for a Play boilerplate project which uses React JSX components which are precompiled on the server.

Usage

At the command line, go to the dir where you want your project folder to be created and run

activator new MYPROJECT play-java-react-seed

That's all. Seriously. Now there's a project all ready for you. You can test running it by going into the folder and running it.

cd MYPROJECT
activator run
[info] Loading project definition from /Users/philihp/work/MYPROJECT
[info] Set current project to play-java-react-seed (in build file:/Users/philihp/work/MYPROJECT/)

--- (Running the application, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Ctrl+D to stop and go back to the console...)

and visit http://localhost:9000. You can see /app/assets/javascripts/component.jsx being rendered server-side by going to http://localhost:9000/assets/javascripts/component.js