{"id":19154030,"url":"https://github.com/thinkswan/flux-shopping-cart","last_synced_at":"2026-06-23T17:32:08.761Z","repository":{"id":54106643,"uuid":"194143418","full_name":"thinkswan/flux-shopping-cart","owner":"thinkswan","description":"A Flux app that allows users to manage a shopping cart.","archived":false,"fork":false,"pushed_at":"2021-03-09T15:26:37.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-11T07:20:16.497Z","etag":null,"topics":["flux","javascript","react","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinkswan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-27T18:19:11.000Z","updated_at":"2019-06-28T18:05:28.000Z","dependencies_parsed_at":"2022-08-13T06:50:37.639Z","dependency_job_id":null,"html_url":"https://github.com/thinkswan/flux-shopping-cart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinkswan/flux-shopping-cart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkswan%2Fflux-shopping-cart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkswan%2Fflux-shopping-cart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkswan%2Fflux-shopping-cart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkswan%2Fflux-shopping-cart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkswan","download_url":"https://codeload.github.com/thinkswan/flux-shopping-cart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkswan%2Fflux-shopping-cart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34700906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flux","javascript","react","tutorial"],"created_at":"2024-11-09T08:25:13.924Z","updated_at":"2026-06-23T17:32:08.741Z","avatar_url":"https://github.com/thinkswan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flux-shopping-cart\n\nA Flux app that allows users to manage a shopping cart.\n\nBased on the tutorial found at\nhttps://scotch.io/tutorials/creating-a-simple-shopping-cart-with-react-js-and-flux.\n\n## How to use\n\n```\ngit clone git@github.com:thinkswan/flux-shopping-cart.git\nnpm install\nnpm start\n```\n\nThis will start a server at http://localhost:5000/.\n\n## How to deploy\n\nClick the button below to spin up your own copy of the app in a Heroku\ninstance.\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n## How it works\n\nThe app is bootstrapped by loading mock data into local storage, then using a\nmock API to retrieve the data and use it to initialize the `ProductStore`.\n\nFollowing the Flux architecture, React views trigger actions, which are then\nsent to the dispatcher, which notifies any stores who have registered callbacks.\n\nWhen the affected stores modify their data, they emit a `change` event, which\ncauses the `FluxCartApp` controller view to update its state. Changes are then\npassed to child components via props.\n\nThe app is stateless, so refreshing the page will clear all items from the cart.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkswan%2Fflux-shopping-cart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkswan%2Fflux-shopping-cart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkswan%2Fflux-shopping-cart/lists"}