Skip to content

alyssaq/react-redux-table-example

Repository files navigation

React Redux Table Example

Build Status

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

Features:

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

Docker

To run a production version in docker:

$ docker build -t react-redux-example .   # Build docker container
$ docker run -d --name react-redux-example -p 4000:4000 react-redux-example  # Run docker container

App will be running at http://localhost:4000

$ docker stop react-redux-example   # Stop container

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

License

MIT