holochain / react-web-ui-kit

A starter kit for a Holochain react based web UI
17 stars 1 forks source link

Classic TODO List hApp #1

Open philipbeadle opened 6 years ago

changalberto commented 6 years ago

Regarding folder structures... I'm still new to Holochain. There are many flows that I don't quite get just yet. So my suggestion may be irrelevant. But I was wondering why don't Holochain (for Web) just follow similar Node.js application development folder structure and conventions, the likes of Angular, React, Vue, Amber. And let the Holochain be a global npm cli or npx script that can generate a dna source folder at the root with all the required files. These validation rules files can be in .js or .ts. And when ready for production it can build from dna to .dna folder. .dna folder is added to .gitignored similarly to node_modules folder

philipbeadle commented 6 years ago

The new Rust version has some tools for doing that. At the moment you need to use Rust for Zomes.