Skip to content

Latest commit

 

History

History
99 lines (62 loc) · 2.83 KB

README.md

File metadata and controls

99 lines (62 loc) · 2.83 KB

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 - under development

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