Example projects
Almin provides official examples
examples/counter
Tutorial: Counter Tutorial
Simple increment counter.
What is learn from this example?
- Flux pattern
- Counter only has Store, not have Repository.
 
 - How to work Almin.
 
examples/todomvc
Tutorial: Todo App tutorial
TodoMVC implementation.
- JavaScript Version: examples/todomvc
 - TypeScript version: examples/todomvc-typescript
 - Flow version: examples/todomvc-flow
 
examples/svg-feeling
Change color of SVG icon and Background Color rapidly.
What is learn from this example?
- Separate Domain and Store/State
- Two way update state.
 
 - How to implement for 60 FPS
- React Component should implement 
shouldComponentUpdate() 
 - React Component should implement 
 
examples/shopping-cart
Shopping Cart
This example implements voronianski/flux-comparison.
What is learn from this example?
This shopping-cart example explains the reason we encourage you to normalize your data is to avoid duplication.
- How to set initial data
 - How to implement domain model
 - How to implement UseCase
 - How to resolve the issue of transaction updating
- First, update Product's inventory.
 - Second, update Cart's products
 - This issue related with Single source of truth
 
 - How to test UseCase and Store/State