Tutorial resources
This page gathers what you need to follow the "Building a blog with BWEB" tutorial.
The component
- The BSPK Tools component, which contains BWEB, is published on GitHub in the bspoke-dev/BSPK-Tools repository. Declare it as a dependency of your project: see Installing BWEB.
SSL certificates
The installation wizard asks for a certificate (cert.pem) and its key (key.pem). Two options:
- for a local trial, continue without a certificate, or create your own self-signed certificates for
myblog.test: the browser will show a security warning, which you can bypass; - for a live site, use a certificate issued for your real domain name.
Details of that step are in Installing BWEB.
The tutorial's code
All the tutorial's 4D code fits in the POST dataclass class: the savePost and deletePost functions are given in full in part 2, and the code that creates the test articles in part 1. The pages themselves are composed in the dev panel and stored in your database's data.
The tutorial's parts
Going further
- The data model: how BWEB stores pages and blocks.
- The dev panel: the editor in detail.
- The blocks: each block type and its settings.
- Troubleshooting: when a page or a button does not do what you expect.
- The documentation of Tailwind CSS and daisyUI, on which page styling relies.

