mulesoft-labs / mule-match

A simple swapping app to use as a Reference app for React applications.
MIT License
6 stars 2 forks source link

Mule Match

Build Status Coverage Status Dependency Status Dev Dependency Status

A simple swapping app to use as a Reference app for React applications. Go to demo.

This app is built using the following tools:

Getting Started

Run the following commands to set up the app

npm install

# Starts the development server on port 9999:
npm start

Testing

Tests are written using Mocha and Enzyme from Airbnb and they run with Karma.

You can run all of them with the following commands:

# Runs the the tests once with coverage
npm run test

# Watches the test & source files and re runs the tests when a change is detected
npm run test:watch

Building the app

The app is hosted in GitHub pages. You can deploy the app using the following commands:

# Builds the static source files and place them under the /dist folder
npm run build

# Pushes the /dist folder to the gh-pages branch
npm run deploy