Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.49 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.49 KB

3R (React, Redux, Ramda) Calculator Build Status Code Climate

A calculator built with React, Redux, Ramda and point free functional programming.

3R Calculator

Features

  • Point-free functional programming with Ramda.
  • Math expression evaluation based on Math.js.
  • Uses Redux for validating pressed keys and calculating expressions while typing. Default keys for basic arithmetic calculations, but easy to customize the allowed keys (see initialState.js).
  • Theme switching based on Redux, a custom <ThemeManager> component and Radium.
  • Based on react-redux-starter-kit.

Usage

git clone git@github.com:panayi/calculator.git
cd calculator
npm install
npm run dev

Go to http://localhost:3000/

Tests

Watch for changes and re-run tests:

npm run test:dev

Run tests once and generate coverage report:

npm run test