Skip to content

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.

Notifications You must be signed in to change notification settings

kingadarsh/Calculator-app_Python_Flask-project

Repository files navigation

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

  • Python
  • Flask
  • HTML
  • CSS

Usage

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run the Flask application using the following command:
  4. Access the calculator interface by opening a web browser and navigating to http://localhost:5000.
  5. 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:

  1. Start the Flask application.
  2. Send a POST request to http://localhost:5000/via_postman with JSON body containing the operation and numbers.
  3. Receive the result as a JSON response.

Screenshots and Screenrecording

Screenshot 2024-05-14 at 1 16 48 AM
Screen.Recording.2024-05-14.at.1.15.02.AM.mov

License

This project is licensed under the MIT License.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published