The source of docs.webforj.com.
Every guide, blog post and cookbook recipe for webforJ, the full-stack Java framework, plus the live Java demos embedded in the pages. Each demo is a real webforJ app, so what you read is code that runs.
Read the docs · Framework · Cookbook · Blog
docs/docs: the documentation, from getting started to routing, data binding, security, styling, testing, AI tooling and craftforJ.docs/blog: release notes, tutorials and deep dives.docs/cookbook: short recipes for everyday tasks.src: the webforJ app behind every live demo on the site. Each demo page embeds a running view from here.docs/i18n: Spanish, German, French, Dutch, Finnish and Chinese. A nightly workflow keeps them in sync with the English pages, so edit the English source only.
You need Java 21 or higher, Maven and Node.js 18 or higher. The site and the demos run side by side.
Start the demos, served at http://localhost:8080:
mvn jetty:runThen, in a second terminal, start the docs site at http://localhost:3000:
cd docs
npm install
npm startThe docs pages load their demos from port 8080. If your demos run on another port, set WEBFORJ_PORT before npm start.
- Prose: run Vale on the pages you changed. The rules live in
.vale.iniand must report no errors or warnings. - Demo code:
mvn compilechecks formatting with Spotless and the build must pass. - Cookbook:
npm run validate:cookbookfrom thedocsfolder checks your recipe. - Commits: follow Conventional Commits, for example
docs: explain table selection.
Found a typo, a broken demo or a missing guide? Open an issue, or fix it and send a pull request. Read the contributing guide first. Questions about the framework itself belong in the webforJ repository.
Released under the MIT License.
