Model-config web apps: describe the app in configuration instead of writing code. Built on Polars and DuckDB.
mockup_config_data.py · 305 bytes · 7 lines
| 1 | # Generated from mockup_config.html |
| 2 | from presentation_layer import PresentationLayer |
| 3 | |
| 4 | mockup_data = {'type': 'page', 'title': 'DBBasic Config Editor - Everything is Config', 'components': [{'type': 'container', 'children': []}]} |
| 5 | |
| 6 | # Render to HTML |
| 7 | html = PresentationLayer.render(mockup_data, 'bootstrap') |