SAM ES6 Boilerplate Project
SAM is a new reactive functional pattern which greatly simplifies the architecture of front-ends (native or Web).
This project provides a basic SAM structure (actions, model, state, view) and a componentized theme. The theme comes with three familiar sections (header, page, footer) and can be used to implement HTML5 themes.
The index.html code uses JQuery, but this is optional.
| |--/sam the basic SAM structure |--/components the application / site components |--/plugins back-end plugins |--server-model.js node as a Web server (can host APIs as well) |--data.js Initial value of the model, when served from node
npm install node server-model.js