Skip to content

david-potgieter/calculator-app

Repository files navigation

Calculator App

A simple calculator app built with vanilla JS, CSS and HTML. Follows PEMDAS with the Parentheses functionality still to be added.

Dependencies

  • Vite: A build tool that aims to provide a faster and leaner development experience for modern web projects. It serves your code via native ES modules, leading to faster page loads in development.

  • TypeScript: A strict syntactical superset of JavaScript, adding optional static typing. Helps in catching errors early and provides a better development experience with strong typing.

  • ViTest: A testing framework designed for Vite. Allows you to write and execute tests for your application with ease.

  • @vitest/coverage-v8: A coverage plugin for ViTest that leverages V8's built-in coverage capabilities. Provides insights into how much of your code is tested.

Setup Guide

Follow the steps below to set up and run the project:

  1. Clone the Repository

    git clone https://github.com/your-username/calculator-app.git
    cd calculator-app
    
  2. Install Dependencies

    yarn install
  3. Run in Development Mode

    yarn dev
  4. Build for Production

    yarn build
  5. Preview Production Build

    yarn preview
  6. Testing

    yarn test
    yarn test:coverage

Acknowledgments

About

Adventures in Vanilla JS and CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages