# alt-store **Repository Path**: mirrors_iansinnott/alt-store ## Basic Information - **Project Name**: alt-store - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React + Webpack Boilerplate ## What is this? A flux-based online store. Built using the [Alt][alt] Flux library. Built to test out [Alt][alt] as a flux implementation. [alt]: http://alt.js.org Not to be confused with a Flux Store, which is Flux's answer to the model / collection aspect of MVC. ## Setup First you will need to make sure you have the database up and running. First, run mongod using the local `db/` directory. Gulp is already set up to do this, so just run `gulp mongod`. Now either use something like Robomongo or simply create the db from the command line. ``` $ mongo ``` Then within Mongo use the `use` command to create the database: ``` > use flux-store ``` After you have the db create in your local `db/` folder you can run the app for development like so: ``` $ npm install $ gulp ``` ## Thoughts on Alt Alt does some weird shit where you must call `this.actions.` order to access other actions defined on an action creators prototype. This is super unintuitive and not obvious. Pretty lame, but other than this I quite like Alt so far. For an example, see `fetchItems` in `client/actions/ItemActions.js`. I never did end up looking at the code hard enough to find out what they are doing behind the scenes. Here's [the code in question][code]. [code]: https://github.com/goatslacker/alt/blob/1d32ad97693434bcda9677c0b64d07d724bc6094/src/alt/index.js#L100-148