Skip to content

Personal project for practicing React, TypeScript, Recoil and Sass, also using Vitest

License

Notifications You must be signed in to change notification settings

LFCavalcanti/kalc

Repository files navigation

KALC - Not so simple calculator using React written in TypeScript

license

This is a personal project to practice React. Instead of building the common calculator projects I decided to include more operations like factorial, radic, etc. Also implemented a formula calculation instead of one math operation at a time. Another choice was to use Vite instead of CRA to learn it's ins and outs.

Feel free to download the project

DEPENDENCIES

PROD

react react-dom recoil

DEV - MAIN PACKAGES

vite typescript sass jsdom vitest vite-plugin-live-reload vite-plugin-svgr @vitejs/plugin-react

DEV - TYPES AND TESTING

@testing-library/jest-dom @testing-library/react @vitest/coverage-c8 @types/istanbul-lib-coverage @types/react @types/react-dom @types/vite-plugin-react-svg

FEATURES

  • Basic Math Operations(+ - * /)
  • Aditional Operations
    • Square Root
    • Exponentiation
    • Natural Logarithm
    • Factorial
    • Remainder(Modulo)
  • Support to calculate formulas(e.g "2^(2*5) = 1024")
  • Follows Mathematical operations precedence

About

Personal project for practicing React, TypeScript, Recoil and Sass, also using Vitest

Topics

Resources

License

Stars

Watchers

Forks

Languages