A boilerplate for a Koa Redux React application with Webpack, Mocha and SASS

Boilerplate for a Koa Redux React app with Webpack, Mocha, SASS, Babel, ESLint...

Docs

Detailed blogpost on how was this boilerplate built

Good to understand what's what.

Instructions

  1. Clone repo

    git clone https://github.com/mezod/boilerplate-koa-redux-react.git

  2. Install dependencies

    npm install

  3. Run the webserver

    npm run webserver

    Webserver should be running at http://localhost:3000/

  4. Make build

    npm run build

  5. Run development server

    npm run dev

    Development server should be running at http://localhost:8080/

Real projects using this boilerplate

listlogs.com

eventradr.com

everydaycheck.com - Simple and beautiful habit tracker

List of techs

Scripts

  • npm run webserver

    Starts Koa server

  • npm run test

    Runs unit tests

  • npm run test:watch

    Watches for changes to run unit tests

  • npm run build

    Bundles the application

  • npm run dev

    Starts webpack development server

  • npm run lint

    Runs the linter

  • npm run deploy

    Creates the production ready files

  • npm run clean

    Removes the bundled code and the production ready files

GitHub

https://github.com/mezod/boilerplate-koa-redux-react