Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I 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?



Essentially 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/render...

[1] - https://github.com/lowdefy/lowdefy/tree/main/packages/operat...

[2] - https://github.com/lowdefy/lowdefy/tree/main/packages/engine

[3] - https://github.com/lowdefy/lowdefy/tree/main/packages/graphq...

[4] - https://docs.lowdefy.com/ButtonSelector




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: