/thoughtworks-react-redux-workshop

Thoughtworks React-Redux Workshop (8/02/2019-09/02/2019)

Primary LanguageJavaScript

Sample App Using React JS And Redux ( ThoughtWorks Company Workshop )

A sample application with react, redux, jest and webpack.

Movie List With Add To Favorites Option On Image Over

alt text

Movie List With Remove To Favorites Option On Image Over If Movie Is Already Added In Favorites

alt text

Contains:

  • Movie List & Movie Card React component
  • ES6 - 7 Support with Babel
  • HRM - Hot module replacement support
  • Sass support
  • Jest - unit testing framework
  • Enzyme - Testing react components

Getting Started

1. Clone the repository and cd thoughtworks-react-redux-workshop/react-redux-scaffolding-app

2. Install all of the dependencies:

npm install

3. Run the app:

npm run start

4. Build production files:

npm run build

Building app in the "dist" directory. Contains the index.html with the minified assets (js, css), it's ready for production!.

Run tests

npm run test

This command will run tests and create a Coverage report "coverage/lcov-report/index.html"

Run tests --watch

Watch files for changes and rerun tests related to changed files.

npm run test-watch