Skip to content

cluk3/easy-koa-mongo-redux-react-jwt-auth-boilerplate

Repository files navigation

Easy Boilerplate with basic JWT authentication for a Koa Redux React app with Webpack, Mocha and Babel.

Instructions

  1. Clone repo

    git clone https://github.com/cluk3/easy-koa-mongo-redux-react-jwt-auth-boilerplate.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/

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

Contributing

Every kind of contribution, critic, feedback or bug report is highly appreciated!


I've taken lot of code from here: https://github.com/mezod/boilerplate-koa-redux-react .

Thanks to mezod for the inspiring repo :)

About

A boilerplate with JWT auth for a Koa Mongodb Redux React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published