Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.32 KB

React Redux Table Example

Build Status

Demo: http://react-redux-table.surge.sh

Features:

  • React-Redux data flow
  • Fetch JSON from an API and render into a table
  • Filter and sort data in the table
  • Routing with react-router
  • Redux middlewares
  • Separate reducers and actions
  • ES6/ES7 with babeljs (es2015, stage-0, react)
  • Stylus
  • Webpack dev and production
  • Eslint standard
  • Unit tests with mocha + chai

Install

$ npm install

Run - Development

$ npm run dev       # builds and hot reloads on changes

Run - Production

$ npm run build     # builds production assets (transpile, minify, etc)
$ npm start         # Start express server and serves index.html

Tests

$ npm run lint      # Runs eslint
$ npm test          # Runs mocha
$ npm run test:dev  # Run mocha in watch mode

Thanks

Data from USDA nutrient API