Quick start

Setting up and running a Hilla application.


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