{"id":22330724,"url":"https://github.com/amitjimiwal/calculator-tsproject","last_synced_at":"2026-05-05T05:41:14.554Z","repository":{"id":183893695,"uuid":"670488578","full_name":"amitjimiwal/calculator-tsproject","owner":"amitjimiwal","description":"A simple arithmetic Calculator built with ReactJS ,TypeScript","archived":false,"fork":false,"pushed_at":"2023-08-04T11:17:43.000Z","size":245,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T08:34:15.580Z","etag":null,"topics":["calculator","opensource","reactjs","typescript","webdevelopment"],"latest_commit_sha":null,"homepage":"https://calculator-ts-blue.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amitjimiwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-25T07:01:56.000Z","updated_at":"2023-08-03T11:03:03.000Z","dependencies_parsed_at":"2023-09-06T05:30:49.258Z","dependency_job_id":null,"html_url":"https://github.com/amitjimiwal/calculator-tsproject","commit_stats":null,"previous_names":["amitjimiwal/calculator-ts","amitjimiwal/calculator-tsproject"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitjimiwal%2Fcalculator-tsproject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitjimiwal%2Fcalculator-tsproject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitjimiwal%2Fcalculator-tsproject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitjimiwal%2Fcalculator-tsproject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amitjimiwal","download_url":"https://codeload.github.com/amitjimiwal/calculator-tsproject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605730,"owners_count":20643030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculator","opensource","reactjs","typescript","webdevelopment"],"created_at":"2024-12-04T04:07:37.448Z","updated_at":"2026-05-05T05:41:14.527Z","avatar_url":"https://github.com/amitjimiwal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculator TypeScript Project\n\n![Calculator App Screenshot](https://res.cloudinary.com/dejzy9q65/image/upload/v1691147330/Screenshot_from_2023-08-04_16-37-22_xoqtf6.png)\n\n## Description\n\nThis is a simple calculator application implemented in TypeScript. It allows users to perform basic arithmetic calculations such as addition, subtraction, multiplication, and division.\n\n## Features\n\n- Addition: Add two or more numbers together.\n- Subtraction: Subtract one number from another.\n- Multiplication: Multiply two or more numbers.\n- Division: Divide one number by another.\n- Error Handling: The app provides meaningful error messages for invalid inputs and division by zero.\n\n## Getting Started\n\n### Prerequisites\n\nTo run this application, you need to have Node.js and npm (Node Package Manager) installed on your system.\n\n### Installation\n\n1. Clone the repository to your local machine using the following command:\n\n```\ngit clone https://github.com/amitjimiwal/calculator-tsproject.git\n```\n\n2. Change into the project directory:\n\n```\ncd calculator-tsproject\n```\n\n3. Install the required dependencies:\n\n```\nnpm install\n```\n\n### Usage\n\n1. Once the installation is complete, you can start the application using:\n\n```\nnpm run dev\n```\n\n2. Open your web browser and navigate to http://localhost:5173 to access the calculator app.\n\n3. Enter the numbers and perform the desired calculations.\n\n### Contributing\n\nContributions to this project are welcome. If you find any bugs or have suggestions for improvements, feel free to open an issue or create a pull request.\n\n1. Fork the repository from the GitHub page: [https://github.com/amitjimiwal/tsprojecttodo](https://github.com/amitjimiwal/tsprojecttodo)\n\n2. Clone your forked repository to your local machine.\n\n3. Create a new branch for your feature or bug fix:\n\n```bash\ngit checkout -b feature/your-feature-name\n```\n\n4. Make your changes and commit them with descriptive commit messages:\n\n```bash\ngit commit -m \"Add new feature\" -m \"Description of the changes.\"\n```\n\n5. Push the changes to your forked repository:\n\n```bash\ngit push origin feature/your-feature-name\n```\n\n6. Create a pull request on the original repository, explaining the changes you made and their benefits.\n\nWe appreciate your contributions, and together, we can make this Project even better!\n\n## Test Cases\n\nThe calculator-tsproject comes with a comprehensive set of test cases to ensure the correctness and reliability of the application. The test cases are implemented using [Jest](https://jestjs.io/), a popular JavaScript testing framework.\n\nTo run the tests locally, make sure you have completed the installation steps mentioned in the **Getting Started** section.\n\n### Running Tests\n\n1. Navigate to the root of the project where the `package.json` file is located.\n\n2. Run the following command to execute the tests:\n\n   ```bash\n   npm test\n   ```\n\n   Jest will then run the test suite and display the results in your terminal.\n\n### Writing Tests\n\nIf you want to contribute to this project or add more test cases, you can find the test files in the `__tests__` folder located at the root of the project.\n\nThe test files are organized in a way that each functionality of the calculator has its own separate test file. For example:\n\n- `yourfucntion.test.ts`: Contains test cases for the your functionality.\n\n\nFeel free to add more test cases to ensure full test coverage and verify the edge cases.\n\n### LICENSE\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Authors\n\n- Amit Jimiwal - [GitHub](https://github.com/amitjimiwal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitjimiwal%2Fcalculator-tsproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitjimiwal%2Fcalculator-tsproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitjimiwal%2Fcalculator-tsproject/lists"}