Skip to content

zaoldyeck/redux-react-koa-isomorphic-counter-example

 
 

Repository files navigation

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 (src/server/api.js).

Installing

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

Running

  • prod: npm start
  • dev: npm run dev

Using

  • Open http://localhost:3000
  • Press the buttons a few times
  • Reload page and inspect source to see the value in the HTML source

Credits

Based off the following ideas, code, examples:

About

Isomorphic port of the redux counter app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.2%
  • HTML 7.9%
  • Makefile 7.9%