Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.68 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.68 KB

React redux JWT starter

Just another react redux starter pack. With a simple auth example app using JSON web tokens. The example app is not hooked against any database, users and secret are defined in the .env file.

Build Status codecov

Installation

If you've never used Node or npm before, you'll need to install Node. If you use homebrew, do:

brew install node

Otherwise, you can download and install from here.

Install dependencies

npm install

This downloads all dependencies listed in package.json.

Running build scripts

npm run dev

This will compile your assets and start a express server with webpack-dev-middleware and webpack-hot-middleware.

Preview production environment

npm run build
npm start

Testing with AVA

This repo includes a test suite running AVA and Sinon.

To run the tests simply do:

npm test

Code style

This repo follows the standard javascript coding style guide. It also includes some default editor settings using editor config.

License

React redux JWT starter is licensed under The MIT License (MIT).