minimal tooling, essential dependencies, high productivity, no migrations, web component starter for non-trivial web applications
- Install vite
git clone https://github.com/AdamBien/bce.design
- Perform:
npx vite
- Install browsersync
git clone https://github.com/AdamBien/bce.design
cd app
- Perform:
browser-sync src -f src -b "google chrome" --no-notify
If you have installed Java 18 or later, you can serve the assets with jwebserver
from app/src
;
The e2e tests are available from:
The e2e tests with configured global code coverage is available from: codecoverage
- Visual Studio Code
- Setup: JS imports
- lit-html plugin for syntax highlighting inside html templates
- redux devtools chrome extension
Checkout libs
- lit-html
- redux toolkit
- vaadin router (suggestion / optional)
- rollup (for updates / optional)
Boundary Control Entity (BCE) pattern is used to organize elements according to their responsibilities: https://en.wikipedia.org/wiki/Entity-control-boundary.
Why it is needed? BCE was published in 1992 and since then described in various books and articles. Also: the boundary, control, entity icons are available in all modelling, drawing and designing tools.
The best of all: with BCE we don't have to discuss the naming anymore and therefore completely ignore the Parkinson's law of triviality :-).
https://github.com/adambien/mockend is useful as a mock backend with throttling functionality.
Mockend can slow down responses, what simplifies the testing of asynchronous view updates. Fetch-requests in the control
layer can be delayed for test purposes.
Article: Web Components, Boundary Control Entity (BCE) and Unidirectional Data Flow with redux