https://github.com/t1/htmx-quarkus-demo
A demo for htmx using bulma-java
https://github.com/t1/htmx-quarkus-demo
Last synced: about 1 year ago
JSON representation
A demo for htmx using bulma-java
- Host: GitHub
- URL: https://github.com/t1/htmx-quarkus-demo
- Owner: t1
- Created: 2023-09-21T15:35:58.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2025-05-10T09:29:07.000Z (about 1 year ago)
- Last Synced: 2025-05-10T10:30:37.525Z (about 1 year ago)
- Language: Java
- Size: 110 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= htmx-quarkus-demo image:https://github.com/t1/htmx-quarkus-demo/actions/workflows/maven.yml/badge.svg[link=https://github.com/t1/htmx-quarkus-demo/actions/workflows/maven.yml]
A demo for https://htmx.org/docs/[htmx] using https://github.com/t1/bulma-java[bulma-java].
This is a https://quarkus.io[Quarkus] app; start it with:
[source,bash]
----
mvn quarkus:dev
----
Then press `w` in the cli to open the web page.
You may want to search for `shoe` to find all three shoes from two brands.
Filters are displayed dynamically depending on the search results; you can toggle them on or off.
In the navbar, the login button is replaced with a logout button after a 1s delay and the time is updated via websockets.
== UI-Tests
We use https://playwright.dev[Playwright] for (demo-)testing the UI.
After running the ITs, you can find screenshots in `target/screenshots` and a Playwright test trace zip `target/playwright-trace.zip"`.
To view that file in the Playwright Trace viewer, run:
[source,bash]
----
mvn exec:java --errors -PIT -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="show-trace target/playwright-trace.zip"
----