Skip to content

ahmeda110/Calculator-Grey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator-Grey

Utilized Java, JS, JQuery, HTML, CSS, etc

Status: Complete

ABOUT

A frontend component was constructed using JS, HTML & CSS in which a user can enter any mathematical operation. Then, the mathematical expression is sent to a Java server through a String Query and AJAX request (Example: http://localhost:8080/leftOperand=5&rightOperand=10&operation=+). The server then parses the request and performs the operation. When done, the result is sent back to the user (client-side) in JSON format. Finally the data in the JSON string is displayed on the UI where the user can then make another request.

Error Handling was Implemented: Missing operator, operand, invalid inputs, etc.

Installing

1- git clone (https/ssh) depending on your permissions
2- download the .jar file at this link https://jar-download.com/artifacts/org.json
3- locate and extract the json.jar file, right click on the project and go to build path
4- add external jar; hit apply (eclipse)
5- javac Manin.java
6- java Main to start the server
7- Run the HTML page (live-server)
8- Now the client-side and back-end are connected and the app is ready to go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published