This is a Javalin starter POC template, aiming to provide just enough modern front-end tooling to develop interactive web-applications in modern Java. Inspirations are taken from Apache Wicket, JSF, and Vaadin, but keeping in line with minimalistic approach of Javalin. AngularTS is used for front-end routing and form processing.
To run this project, ensure you have the following software installed:
- GoLang: Version 1.20 or later
- Java: Version 21 or later
- Node.js: Version 18 or later
- Docker: Version 27 or later
Set up goose and npm via:
make setupStart db container:
docker compose up -dRun migration:
make db-upAll set!
For interactive live-reload, you will need to run browsersync in a separate terminal:
make devand then run Debug Java > src/main/java/Main.java in VSCode or Eclipse for automatic class reloads. If you don't need live-reload:
make runCalculatorController.java- sample of reactive UIProductController.java- sample CRUD