Skip to content

nsclass/rust-calculator

Repository files navigation

Rust Simple Text Calculator tests

Simple calculator by using post fix algorithm in Rust. It supports operators: +, -, * and /

Main purpose of this project is to show how to use Axum Rust web framework for backend and React with TypeScript for frontend UI.

Backend

Axum framework used for HTTP server

REST API

  • Calculation
POST http:https://localhost:3000/calculate
Content-Type: application/json

{
  "infix": "1 + 2 * (3 + 4) / 2"
}

Frontend

Frontend application is developed with TypeScript, ReactJS and Tailwind with Vite

  • Supporting internationalization(English, Korean)

About

A simple text calculator by Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published