A simple swapping app to use as a Reference app for React applications. Go to demo.
This app is built using the following tools:
Run the following commands to set up the app
npm install
# Starts the development server on port 9999:
npm start
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
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