/unit-converter

Unit converter that converts common units of measurement.

Primary LanguageTypeScriptMIT LicenseMIT

Unit Converter

image

Play with this app at https://avu120.github.io/unit-converter/.

About

Unit converter that converts common units of measurement. I built this to mirror the design and functionality of Google's unit converter.

I built this project to use as teaching/tutorial/demo material in a corporate React workshop I was teaching.

The tutorial-base branch is the starting point of a demo exercise I instructed my students to start building on top of. The tutorial-completed branch is what I wanted my students to build.

The master branch is what I built on top of the tutorial-completed branch in my attempt to create a slimmed-down version of Google's unit converter.

How to Run the App

Ensure you have Node installed. Then,

  1. git clone https://github.com/AVu120/unit-converter.git
  2. cd unit-converter
  3. Install dependencies with npm i or yarn.
  4. Start the app with npm start or yarn start.

Testing

Run npm run test or yarn test to run all tests in watch-mode.

Deploy to Production

Run npm run deploy or yarn deploy to deploy the project to GitHub-Pages.