/react-calculator

Assignment return for demonstrating unit testing React components

Primary LanguageJavaScriptMIT LicenseMIT

React Calculator

A simple javascript calculator.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Node (v.8 or higher)
  • NPM

Installing

Install the required dependecies to get started

npm install

Running

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm start

Testing

Launches the test runner in the interactive watch mode.

npm test

Deployment

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
The app is ready to be deployed.

npm run build

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details