This project template allows to kick-start a web application with a Java backend based on flak and a frontend based on create-react-app.
It creates a standalone, executable jar that serves the whole application.
To build and run it:
- run
./gradlew server:shadowJar
- run
java -jar server/build/libs/flak-react-boilerplate-1.0-SNAPSHOT-all.jar
As of this writing, the size of the bundled application is 120kb because it includes a minimal set of dependencies (e.g. jackson is excluded).