Skip to content

Madscientiste/rpn-calculator

Repository files navigation

Reverse Łukasiewicz Notation

Reverse Polish notation, also known as Polish postfix notation or simply postfix notation, is a mathematical notation in which operators follow their operands, in contrast to Polish notation (PN), in which operators precede their operands. It does not need any parentheses as long as each operator has a fixed number of operands.

Tech Stack

  • Python & FastAPI
  • React & TypeScript
  • Docker

Development

I'm using Rye, an experimental package management solution created by the author of Flask.

You probably don't have it, doing it the good old way pip install -r requirements-dev.lock should be good enough.

Otherwise you can just do rye sync to install the dependencies.

Running Tests

rye run test

# or if you are not using rye
pytest

Running the project

rye run dev

# or if you are not using rye
uvicorn app:server --reload

Not forgetting to build the frontend

cd resources

npm i && npm run build