A calculator built with React, Redux, Ramda and point free functional programming.
- 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.
git clone [email protected]:panayi/calculator.git
cd calculator
npm install
npm run dev
Go to http://localhost:3000/
Watch for changes and re-run tests:
npm run test:dev
Run tests once and generate coverage report:
npm run test