Skip to content

FunnyLiu/calculator

 
 

Repository files navigation

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

About

A calculator built with React, Redux and Ramda

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.3%
  • HTML 0.7%