An open API service indexing awesome lists of open source software.

https://github.com/sanketmaru/react-workshop

Simple Movies App created with react.
https://github.com/sanketmaru/react-workshop

Last synced: 2 months ago
JSON representation

Simple Movies App created with react.

Awesome Lists containing this project

README

        

# react-sample app
A sample application with react, jest and webpack.

## Contains:
* Sample 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 react-sample-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```