koa-react-full-example

v0.6.1
Full example using Koa, React, Passport, Mongoose, Gulp, Mocha
koa react mongoose mocha webpack mocha passport react-bootstrap react-router and 2 more...

start

NODE_ENV=development ./node_modules/.bin/nodemon --harmony server.js

prod

npm run build && NODE_ENV=production node --harmony server.js

build

NODE_ENV=production webpack --config webpack.config.js --separate-stylesheet -p --progress --profile --colors

hot-dev-server

webpack-dev-server --content-base public -ds --config webpack.config.js --hot --progress --colors --inline

dev-server

npm run hot-dev-server

test

npm run base-test && npm run lint

base-test

NODE_ENV=test ./node_modules/.bin/mocha --harmony --reporter spec ./test/test-*.js

lint

eslint src app test webpack config lib server.js webpack.config.js
npm i koa-react-full-example

Metadata

  • MIT
  • >=0.12.0
  • Hugo Dozois
  • released 7/18/2015

Downloads

Maintainers