Skip to content

An isomorphic boilerplate for building server side rendering web app with koa2 + react, supporting hot module reload

License

Notifications You must be signed in to change notification settings

zhuscat/react-koa-isomorphic-boilerplate

Repository files navigation

react-koa-isomorphic-boilerplate

An isomorphic boilerplate for building server side rendering web app with Koa2 + React + Redux.

Features

  • 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 nodemon when changing server side codes (in development mode)
  • Write style using Sass (You are welcome to use other languages like Less, just change the configuration)
  • Using ESLint to check JavaScript codes

Getting Started

Installation

git clone https://github.com/zhuscat/react-koa-isomorphic-boilerplate.git
cd react-koa-isomorphic-boilerplate

npm install

Development

npm start

After 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 build

Reference

react-isomorphic-boilerplate

koa2-react-isomorphic-boilerplate

License

The MIT License

About

An isomorphic boilerplate for building server side rendering web app with koa2 + react, supporting hot module reload

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published