-
AgGrid
-
Speedy initial load due to initial data in the html
-
Configuring grid via gridOptions in the html
-
AgGrid wrapped in a Web Component
-
Htmx Boost to test compatibility with Web Components
-
Kotlinx.Html
-
Spring Boot
-
Install the java version from .sdkmanrc via SdkMan by calling
sdk env
-
Install the node version from assets/.nvmrc via fnm (or nvm]) by calling
fnm use
-
Build and move .js files to src/main/resources/public via
cd assets && npm ci && npm run dist
-
Run server via
./gradlew bootRun
and open localhost:8080. -
Run tests via
./gradlew test
LiveReload is great for fast iteration. It’ll restart spring and refresh your browser window for changes.
To use it:
-
Make sure you have the LiveReload extension installed in Firefox/Chrome
-
In one Terminal start Gradle Continuous Build
./gradlew build -continuous
-
In another Terminal or via IntelliJ run your application via
./gradlew bootRun
-
Open the site in your browser
-
If the LiveReload Extension symbol in your browser shows "connected", then your browser will refresh on changes