How stephengrider/reduxsimplestarter works
Project type and purpose
• This is a single-page application (SPA) “starter” template built with React and Redux. Its sole purpose is to teach and demonstrate how to wire up Redux into a React app.
• It has no backend service—it lives entirely in the browser, with a local dev server provided by Webpack.
File structure
• Top-level files:
• index.html: container for the React app
• webpack.config.js, .babelrc: build and transpile configuration
• package.json / package-lock.json: dependency lists and scripts
• “src/” directory (application code):
• src/index.js: entry point that boots React into the DOM
• src/components/app.js: root React component
• src/actions/index.js: Redux action creators
• src/reducers/index.js: Redux root reducer (combines per-feature reducers)
• “style/”: static CSS
• “test/”: unit tests for components (using test_helper.js)
README for additional insights
• No hidden microservices or backend calls—npm start spins up Webpack’s dev server and opens index.html in the browser.