3 ms·
This looks really cool! Just added a reminder to check out in more detail when I get to a computer :) Thank you for sharing.
by paustint 5y ago
This looks really cool! Just added a reminder to check out in more detail when I get to a computer :)
Thank you for sharing.
- gervwyk 5y agoThanks! We are having great fun building it and making it useful for others! Please reach out if you have any questions: https://discord.gg/WmcJgXt https://discord.gg/WmcJgXt
- atatatat 5y agoI looked over your page, briefly through docs, couldn't find: what kind of code are the finishes webapps pushed out as? Are exported projects cloud host agnostic?
- gervwyk 5y agoEssentially we've written an engine which renders the YAML / JSON as a React app. So the backend serves the json config to the frontend which renders and interprets the app at runtime. There are 3 parts to the front-end, operators - which executes page logic, engine - which evaluates all page blocks, and renderer - which renders the components using react. The logic executes in a recursive loop, so if you look at the renderer [0] or operators [1] code it's actually quite simple. The engine part is a little more complex, but thats written in pure js, so it's easy to test. All of this talks to a stateless node backend [3] which talks external connections or data sources. > Are exported projects cloud host agnostic? Yes. Open-source and self-hosted. We run apps on Netlify (with functions), Serverless, Docker etc. We'll probably include a static build version which will allow to host a Lowdefy app as a static site. The docs is also just a Lowdefy app, so we can easily make it interactive [4] and autogenerate much it from a JSONSchema. [0] - https://github.com/lowdefy/lowdefy/tree/main/packages/renderer https://github.com/lowdefy/lowdefy/tree/main/packages/render... [1] - https://github.com/lowdefy/lowdefy/tree/main/packages/operators https://github.com/lowdefy/lowdefy/tree/main/packages/operat... [2] - https://github.com/lowdefy/lowdefy/tree/main/packages/engine https://github.com/lowdefy/lowdefy/tree/main/packages/engine [3] - https://github.com/lowdefy/lowdefy/tree/main/packages/graphql https://github.com/lowdefy/lowdefy/tree/main/packages/graphq... [4] - https://docs.lowdefy.com/ButtonSelector https://docs.lowdefy.com/ButtonSelector