Simple Calculator

This is a simple calculator built with ReactJs. The purpose is to use React Class Component without hooks in order to get familiar with legacy code. It later refactors the class components into functional components using React Hooks.

calculator

Technology

  • ReactJs
  • Material UI
  • JavaScript

Getting Started

To get a local copy up and running follow these simple example steps.

  1. git clone
  2. cd simple-calculator
  3. git checkout feature/milestone-1
  4. npm i
  5. npm run dev to run the server in development mode.
  6. npm run buildto create an optimized production build.
  7. npm run start to run the production build locally.
  8. Open your favorite browser @ 127.0.0.1:8080

This project was bootstrapped with Create React App.

Test

  • Run npm run test to test the app.

Prerequisites

  • A modern browser