Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 1.3 KB

README.md

File metadata and controls

73 lines (55 loc) · 1.3 KB

Overview

This is contact app using Redux to consolidate knowledge of session before Redux 101. This app it is only to teach people how to use Redux, Redux saga and Jest snapshoot testing.

Install and Run the Dev Server (Linux/OSX)

yarn install
yarn run dev

Then open http://localhost:3000

Build and Run the Production Server (Linux/OSX)

yarn run build
yarn start

Then open http://localhost (Note the production port is set to 80 in package.json)

Run tests (Linux/OSX)

yarn test

or

yarn test:watch

if you want to activate watch mode

Run test coverage (Linux/OSX)

yarn test:coverage

Then open ContactsApp/coverage/lcov-report/index.html if you want to see it more detailed than console report.

Install and Run the Dev Server (Windows)

yarn install
yarn run dev-win

Then open http://localhost:3000

Build and Run the Production Server (Windows)

yarn run build-win
yarn run start-win

Then open http://localhost (Note the production port is set to 80 in package.json)

Dependencies

  • React
  • Redux
  • Redux saga
  • Immutable
  • React Router
  • Material-ui
  • Babel
  • Webpack

Credits

cloudmu amazing redux boilerplate https://github.com/cloudmu/react-redux-starter-kit

Thank you!