Home

Awesome

changelog

What is this?

Bundled with Redux is an example application called counter.

This is an isomorphic port of the counter app using Koa. It uses isomorphic-fectch to load the initial state on the server, and update the state from the client. Data retrieved and set via POSTs and GETs to and from the API <code>src/server/api.js</code>.

Installing

git clone git@github.com:khtdr/redux-react-koa-isomorphic-counter-example.git
cd redux-react-koa-isomorphic-counter-example.git
yarn install

Running

To run a compiled production version:

yarn start

If you have errors, make sure you are using an LTS node version and try again.

Using

Development

To run a development version with hot reloading:

yarn run dev

To run dev + Cypress tests:

yarn run dev &
yarn run cypress:open