This project implements a basic calculator using C++ for WebAssembly (WASM), Express.js for the backend, and Vite with TypeScript for the frontend.
To get a local copy up and running follow these simple steps.
- Node.js and npm installed on your machine.
- Clone the repo
git clone https://github.com/yourusername/basic-calculator.git
- Install NPM packages
cd basic-calculator npm install
-
Run Express.js server
npm run start:server
-
Start Vite development server
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to access the calculator.
Simply enter the numbers and select the operation you want to perform from the dropdown menu. The result will be displayed instantly.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - [email protected]
Project Link: https://github.com/yourusername/basic-calculator