ZoeyYoung / boilerplate-koa-redux-react

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 project using this boilerplate

www.listlogs.com

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

About

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

License:MIT License


Languages

Language:JavaScript 98.6%Language:CSS 1.4%