Quick start
Setting up and running a Hilla application.
Requirements
-
Node 16.14 or later.
-
JDK 17 or later, for example, Eclipse Temurin JDK.
Creating a New Hilla Project
You can create a new Hilla project using the Hilla CLI:
npx @hilla/cli init my-hilla-app
Alternatively, you can download the starter as a zip-file and extract it.
You can also create a project with the basic security configuration added to it using the --auth
option:
npx @hilla/cli init --auth hilla-with-auth
Running a Hilla Project
Change into the newly created directory and run the application with the included Maven wrapper. This runs both the front-end and back-end build, and opens your web browser to localhost:8080.
cd my-hilla-app
.\mvnw