pcdv / flak-react-boilerplate

Boilerplate: 120kb executable jar containing Java backend and React frontend (flak + create-react-app)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flak-react-boilerplate

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).

About

Boilerplate: 120kb executable jar containing Java backend and React frontend (flak + create-react-app)


Languages

Language:TypeScript 60.2%Language:Java 16.2%Language:HTML 15.3%Language:CSS 8.3%