# React Redux Segment

Sample application using:-
* React
* ES6
* Redux
* Webpack
* Redux Segment

## Building and Serving

* Replace the `__API_KEY__` in `index.html` with valid Segment.io API Key
* Build the application by running the `npm install` command.
* Serve the application by running the `npm start` command.

Based on: https://github.com/rangle/react-redux-starter

## npm scripts

### Dev
```bash
$ npm run dev
```

Open `http://localhost:3000` in your browser.

### Tests

#### Single Run
```bash
$ npm run test
```

#### Watch Files
```bash
$ npm run test:watch
```

#### Coverage
```bash
$ npm run cover
```

### Production
```bash
$ npm start
```