Skip to content

About

Docs, guides and live demos for webforJ, the full-stack Java framework. The source of docs.webforj.com.

Topics

Resources

Contributing

Stars

5 stars

Watchers

7 watching

Forks

Repository files navigation

webforJ documentation: guides, cookbook recipes and live Java demos for the full-stack Java framework

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.

Test WAR Build License: MIT

Read the docs · Framework · Cookbook · Blog

What's inside

  • 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.

Run it locally

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:run

Then, in a second terminal, start the docs site at http://localhost:3000:

cd docs
npm install
npm start

The docs pages load their demos from port 8080. If your demos run on another port, set WEBFORJ_PORT before npm start.

Before you open a pull request

  • Prose: run Vale on the pages you changed. The rules live in .vale.ini and must report no errors or warnings.
  • Demo code: mvn compile checks formatting with Spotless and the build must pass.
  • Cookbook: npm run validate:cookbook from the docs folder checks your recipe.
  • Commits: follow Conventional Commits, for example docs: explain table selection.

Contributing

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.

License

Released under the MIT License.

About

Docs, guides and live demos for webforJ, the full-stack Java framework. The source of docs.webforj.com.

Topics

Resources

Contributing

Stars

5 stars

Watchers

7 watching

Forks

Used by

Contributors

Languages