2 ms·
Would be interesting to see how you do this. If you can, write a blog post or something when you are done. Thank you in advanced.
by thrownaway954 9y ago
Would be interesting to see how you do this. If you can, write a blog post or something when you are done. Thank you in advanced.
- artpar 9y agoIn Short: Two parts: - Storage Daptin connects to a storage (eg google drive) using rclone, we upload a zip which goes to gdrive. That was how the site is stored. - Serve Another part of daptin is "sub site", where we say "serve this storage folder" under this sub-domain/sub-path GrapeJS is injected to the page if editor permission is given to current user. Changes by GrapeJS will reflect back to original storage (thanks to rclone) Now that allows us to make static sites. But daptin already is exposing JSON apis for all your data. So along with those built in "Static drag and drop components", New "dynamic" components, which will act as "templates" for the data coming in via json api. Plus we also have actions, which take in inputs like form submission, so the form inputs can be pointed to those actions. Will write a longer article soon along with gifs.