Calculator-app_Python_Flask-project
This repository contains a simple calculator project developed using Python with Flask, HTML, and CSS. The calculator offers basic arithmetic operations such as addition, subtraction, multiplication, and division. It provides a user-friendly interface for performing calculations and has been tested locally as well as via Postman.
Simple Calculator Project
This project is a simple calculator with basic functionality such as addition, subtraction, multiplication, and division. It was developed using Python with a Conda environment and Flask, along with basic HTML and CSS for the user interface.
Functionality
- Addition
- Subtraction
- Multiplication
- Division
Technologies Used
Usage
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run the Flask application using the following command:
- Access the calculator interface by opening a web browser and navigating to
http://localhost:5000.
- Choose a mathematical operation, input the numbers, and click "Calculate" to see the result.
Testing
The project has been tested locally and via Postman. To test via Postman:
- Start the Flask application.
- Send a POST request to
http://localhost:5000/via_postman with JSON body containing the operation and numbers.
- Receive the result as a JSON response.
Screenshots and Screenrecording
https://github.com/kingadarsh/Calculator-app_Python_Flask-project/assets/141414310/b992948f-9efd-4e35-8122-2ef7ec2ebbd3
License
This project is licensed under the MIT License.