# redux-boot-express

> Redux Boot module wich implments Express web server.

Latest version **0.1.4** (published 2016-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-boot-express
pnpm add redux-boot-express
yarn add redux-boot-express
bun add redux-boot-express
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2016-08-27 |
| First published | 2016-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | choko-org |
| Keywords | redux-boot, module, express, web server, redux |

## Links

- npm: https://www.npmjs.com/package/redux-boot-express
- Repository: https://github.com/choko-org/redux-boot-express
- Homepage: https://github.com/choko-org/redux-boot-express#readme
- Issues: https://github.com/choko-org/redux-boot-express/issues
- npm.io page: https://npm.io/package/redux-boot-express

## Dependencies (5)

- [redux](https://npm.io/package/redux.md) ^3.3.1
- [express](https://npm.io/package/express.md) ^4.13.4
- [redux-boot](https://npm.io/package/redux-boot.md) ^0.1.1
- [redux-actions](https://npm.io/package/redux-actions.md) ^0.9.1
- [redux-promise](https://npm.io/package/redux-promise.md) ^0.5.3

## Recent versions

- 0.1.4 (latest) — 2016-08-27
- 0.1.3 — 2016-05-13
- 0.1.2 — 2016-05-13
- 0.1.0 — 2016-05-13

## README

# Redux Boot Express

[![Build Status](https://travis-ci.org/choko-org/redux-boot-express.svg?branch=master)](https://travis-ci.org/choko-org/redux-boot-express)

Redux Boot module to use [Express](http://expressjs.com/) web server.

## Install
```bash
npm install redux-boot-express --save
```

## Actions constants

```js
import {
  HTTP_REQUEST,
  HTTP_BOOT,
  HTTP_AFTER_BOOT
} from 'redux-boot-express'
```

## Usage

```js
import boot from 'redux-boot'
import webServerModule, {HTTP_REQUEST} from 'redux-boot-express'

const helloModule = {
  middleware({getState, dispatch}) {
    return next => action => {
      let nextResult = next(action)

      if (action.type === HTTP_REQUEST) {
        const {request, response} = action.payload
        response.send('Hello!')
      }

      return nextResult
    }
  }
}

const initialState = {
  variables: {
    port: 3020
  }
}

const modules = [
  webServerModule,
  helloModule
]

const app = boot(initialState, modules)
```

## License

[MIT](LICENSE.md)

---
_Source: https://npm.io/package/redux-boot-express · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
