An isomorphic boilerplate for building server side rendering web app with Koa2 + React + Redux.
- React Router + Koa Router (handle url like
/api/*) - Webpack Hot Module Reload(HMR) when changing client side codes (in development mode)
- Server automatically restart using
nodemonwhen changing server side codes (in development mode) - Write style using
Sass(You are welcome to use other languages likeLess, just change the configuration) - Using ESLint to check JavaScript codes
Installation
git clone https://github.com/zhuscat/react-koa-isomorphic-boilerplate.git
cd react-koa-isomorphic-boilerplate
npm installDevelopment
npm startAfter you start the app in development mode, feel free to change codes in client or server, you can see what will happen after you change the codes.
production
npm run buildkoa2-react-isomorphic-boilerplate
The MIT License