https://github.com/bl33h/calculator
With a user-friendly interface and reliable calculations, the React Calculator is a handy tool for performing mathematical operations efficiently.
https://github.com/bl33h/calculator
calculator eslint netlify npm react vite vitest
Last synced: 9 months ago
JSON representation
With a user-friendly interface and reliable calculations, the React Calculator is a handy tool for performing mathematical operations efficiently.
- Host: GitHub
- URL: https://github.com/bl33h/calculator
- Owner: bl33h
- Created: 2023-05-02T23:48:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T16:33:26.000Z (over 2 years ago)
- Last Synced: 2025-01-21T15:15:35.170Z (11 months ago)
- Topics: calculator, eslint, netlify, npm, react, vite, vitest
- Language: JavaScript
- Homepage: https://bl33hscalculator.netlify.app/
- Size: 619 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# calculator
This project is a basic calculator built using React and it has been developed following best practices and enforced code quality standards using ESLint. The calculator provides basic functionalities such as addition, subtraction, multiplication, division, and the modulus operation (%). The project has been thoroughly tested using Vite's testing framework to ensure accurate results.
Features •
Files •
How To Use •
Testing •
Packages
## Features
* Vite
```bash
# Install dependencies
$ npm i
# run the app
$ npm run dev
```
## Files
- src: the file that implements de solution.
- assets: resources that are used in an application.
- components: reusable pieces of code that define the appearance and behavior of a part of the UI.
## How To Use
To clone and run this application, you'll need [Git](https://git-scm.com), [Node.js](https://nodejs.org/en) and [Vite](https://vitejs.dev/) installed on your computer. From your command line:
```bash
# Clone this repository
$ git clone https://github.com/bl33h/calculator
# Install dependencies
$ npm i
# Run the app
$ npm run dev
```
## Testing
```bash
# Run the tests
$ npm test
```
## Packages
This software uses the following open source packages:
- [Vite](https://vitejs.dev/)
- [React](https://reactjs.org/)
- [Vitest](https://vitest.dev/)