https://github.com/srph/jumars-tindahan
:convenience_store: A sample cart app written using Alt and friends.
https://github.com/srph/jumars-tindahan
Last synced: about 1 year ago
JSON representation
:convenience_store: A sample cart app written using Alt and friends.
- Host: GitHub
- URL: https://github.com/srph/jumars-tindahan
- Owner: srph
- License: mit
- Created: 2015-04-09T21:14:54.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-09-06T04:35:50.000Z (almost 11 years ago)
- Last Synced: 2025-03-25T21:22:13.934Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://srph.github.io/jumars-tindahan
- Size: 4.02 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Preview is a bit oudated.
# Jumar's Tindahan
> A sample cart app written in Alt.
This project was mainly about trying out Flux (Thanks, Alt, this was easier with you), Immutable, and also an approach to placing css along with its respective components (check the components).
**Notes**:
- I think trying to check if a `Product` exists (by checking `index == -1` from `findIndex`) was useless. It was expected that no non-existent `Product` would be removed from `ProductStore`.
- Immutable data structures makes data easier to maintain and predict.
- LESS, as of this time of writing, does not support globbing in which I used [*less-plugin-glob*](https://github.com/just-boris/less-plugin-glob) by [**just-boris**](https://github.com/just-boris). I also had to `@import` the main files which is really tedious and non-dry, especially in actual projects.
- LESS's feat that [everything is a mixin](http://lesscss.org/features/#features-overview-feature-mixins) is pretty neat.
- Flux is so awesome.
**Tools**
- [React](https://facebook.github.io/react) - UI Library
- [Alt](https://alt.js.org) - Library based on Flux
- [Immutable.js](https://facebook.github.io/immutable-js) - Immutable persistent data collections for JS
## Local Setup
At this time of writing, this project requires **node** `>=v0.10` and **npm**.
```bash
git clone https://github.com/srph/jumars-tindahan && cd jumars-tindahan
npm install
npm run build
npm run style
open index.html
```
## Acknowledgement
**Jumar's Tindahan** © 2015+, Kier Borromeo (srph). **Jumar's Tindahan** is released under the [MIT](mit-license.org) license.
> [srph.github.io](http://srph.github.io) ·
> GitHub [@srph](https://github.com/srph) ·
> Twitter [@_srph](https://twitter.com/_srph)