Skip to content

The final project of the second sprint from YandexLMS

License

Notifications You must be signed in to change notification settings

Parside01/ExprCalc

Repository files navigation

Expression Calculator

The final project of the second sprint from YandexLMS

Если вы не владеете английским то можете перейти README_ru.md

Application Configuration

Before you run everything in Docker, you can play around with the application config ./config.yaml

expression-service and app - the part of the config that you can interact with. It contains the following fields

app

Parameter Type Description
cache-ttl int Required. The time in minutes that '\n' expressions will be stored in the DBMS. If it is not necessary, set 0

expression-service

Parameter Type Description
gorutines-count int Required. The number of workers that will be on the server
expr-queue string Required. The name of the queue to which expressions from the frontend will arrive
res-queue string Required. The name of the queue in which the workers will put the completed tasks
exchange string Required. The name of the exchanger for rabbitmq
route-key string Required. The name of the unique key that will be used to send messages to rabbitmq
worker-info-update int Required. The time in seconds after which the server will ping the workers

Run Locally

Clone the project

git clone https://github.com/Parside01/ExprCalc.git

Go to the project directory

cd ExprCalc

Launching the application in Docker

docker-compose up --build

After launch

click on the link http://localhost:80

Roadmap

When you log in to the app, this will be waiting for you

App Screenshot

You can enter a mathematical expression in the input field

App Screenshot

Before that, you can set the execution speed of each of the supported mathematical operations

App Screenshot

By clicking on the button, you send the expression to the server that processes it, you can monitor the state of the expression

App Screenshot

You can also monitor every worker in the system

App Screenshot

How it works

Operation scheme

App Screenshot

Technology stack

Frontend

Backend


Docker

Feedback

if you have any feedback or problems with app, please open an issue or you can write to me on Telegram @parside12

Contributors

About

The final project of the second sprint from YandexLMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published