Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4s4v1n/smartcalculation-v3.0
Calculator implementation with web interface on React, service on Golang and core on C++
https://github.com/4s4v1n/smartcalculation-v3.0
api calculator cpp fullstack golang reactjs webapp
Last synced: 4 days ago
JSON representation
Calculator implementation with web interface on React, service on Golang and core on C++
- Host: GitHub
- URL: https://github.com/4s4v1n/smartcalculation-v3.0
- Owner: 4s4v1n
- License: gpl-3.0
- Created: 2023-09-09T09:51:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-11T13:19:13.000Z (about 1 year ago)
- Last Synced: 2023-10-21T16:21:34.754Z (about 1 year ago)
- Topics: api, calculator, cpp, fullstack, golang, reactjs, webapp
- Language: Go
- Homepage:
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SmartCalculation-v3.0
Implementation of a calculator with a web interface in React, a service in Golang, and calculations in C++.
## Content
This project implements a web calculator with the following capabilities:
1. Page navigation
2. Calculation of the value of a function at a point
3. Direct calculation
4. Graphing functions
5. Saving and using expression historyThis project is a modification of the previous version of the calculator
[SmartCalculation-v2.0](https://github.com/sav1nbrave4code/SmartCalculation-v2.0).What was used:
1. Frontend - `JS + React`
2. Backend - `Golang + Chi`
3. Core - `C++ + C`All components of the project are launched in separate docker containers and combined into one layer with
using docker-compose. Accordingly, `docker` and `docker-compose` are required to run this application.The application uses the following ports:
1. 3000 - frontend (main)
2. 8080 - backendFrontend has the following endpoints:
1. / - home page, application navigation
2. /calculator - page with a calculator
3. /plot - page with plotting
4. /reference - help pageBackend has the following endpoints:
1. /api/calculator - calculate the value of an expression, query parameters: expression, x
2. /api/plot - calculation of function values for plotting,
query parameters: expression, begin, end
3. /api/previous_expression - returns the previous successfully evaluated expression
4. /api/clear_history - clears the history of expressionsTo run the `make` application to clear the cache of the docker containers `make clean`.
Some examples of what the web interface looks like:
Home page
Calculator
Graphing
Reference