This repository contains a simple calculator web application built with React. The calculator provides basic arithmetic operations such as addition, subtraction, multiplication, division, and percentage.
- Addition, Subtraction, Multiplication, Division, and percentage operations
- Clear and user-friendly interface
To run this project, you will need to have the following installed on your machine:
-
Install:
npm install
-
Test:
npm test npm run test:coverage npm run test:watch
-
Run:
npm start
-
Build:
npm run build
-
Lint:
npm run lint
├── public
│ ├── favicon.ico
│ ├── index.html
│ ├── logo128.png
│ ├── logo512.png
│ ├── manifest.json
│ └── robots.txt
├── screenshots
├── src
│ ├── __tests__
│ │ ├── index.test.jsx
│ │ └── reportWebVitals.test.js
│ ├── apis
│ │ └── calculatorContext.js
│ ├── assets
│ │ ├── css
│ │ │ └── style.css
│ │ └── fonts
│ │ └── roboto-mono-thin.woff2
│ ├── components
│ │ ├── App
│ │ │ ├── __tests__
│ │ │ │ ├── app.test.jsx
│ │ │ │ ├── calculatorAdd.test.jsx
│ │ │ │ ├── calculatorBtnClick.test.jsx
│ │ │ │ ├── calculatorDivide.test.jsx
│ │ │ │ ├── calculatorMultiply.test.jsx
│ │ │ │ ├── calculatorPercent.test.jsx
│ │ │ │ └── calculatorSubtract.test.jsx
│ │ │ ├── index.jsx
│ │ │ └── style.module.css
│ │ ├── Button
│ │ │ ├── __tests__
│ │ │ │ └── button.test.jsx
│ │ │ ├── index.jsx
│ │ │ └── style.module.css
│ │ ├── Buttons
│ │ │ ├── __tests__
│ │ │ │ └── buttons.test.jsx
│ │ │ └── index.jsx
│ │ ├── Container
│ │ │ ├── __tests__
│ │ │ │ └── container.test.jsx
│ │ │ └── index.jsx
│ │ ├── Display
│ │ │ ├── __tests__
│ │ │ │ └── display.test.jsx
│ │ │ ├── index.jsx
│ │ │ └── style.module.css
│ │ └── Title
│ │ ├── __tests__
│ │ │ └── title.test.jsx
│ │ ├── index.jsx
│ │ └── style.module.css
│ ├── constants
│ │ ├── __tests__
│ │ │ ├── calculatorType.test.js
│ │ │ ├── event.test.js
│ │ │ └── operator.test.js
│ │ ├── calculatorType.js
│ │ ├── event.js
│ │ └── operator.js
│ ├── containers
│ │ ├── __tests__
│ │ │ └── calculator.test.js
│ │ └── calculator.js
│ ├── reducers
│ │ ├── __tests__
│ │ │ └── calculatorReducer.test.js
│ │ └── calculatorReducer.js
│ ├── utils
│ │ ├── __tests__
│ │ │ ├── calculatorInitialState.test.js
│ │ │ ├── labels.test.js
│ │ │ └── parser.test.js
│ │ ├── calculatorInitialState.js
│ │ ├── labels.js
│ │ └── parser.js
│ ├── index.jsx
│ ├── reportWebVitals.js
│ └── setupTests.js
├── README.md
├── package-lock.json
└── package.json