An RPN calculator that's easy to install and use from a mobile phone, even when you're offline. It is a work in progress.
- Reverse Polish Notation
- Offline, installable Progressive Web App (PWA)
- Ergonomic layout for right-handed mobile use
- Arbitrary precision with no floating point errors (thanks, decimal.js-light!)
- Undo/Redo
This app is meant to be simple without much feature bloat, but if you have an idea feel free to create a new issue to discuss it. I may ask you to create a PR.
If you want to report a bug, please create a new issue that includes:
- Steps to reproduce the problem beginning with an empty stack
- The expected resulting state
- The actual resulting state
or better yet, write some test cases that demonstrate the problem and submit a PR that makes them pass 😁.
Clone the project
git clone https://github.com/dave-burke/rpn-calc.git
Go to the project directory
cd rpn-calc
Install dependencies
npm install --workspaces
Start the frontend server
npm run dev --workspace=frontend
Browse to http://localhost:3000
Deploy to AWS (you need the Pulumi CLI and the the AWS CLI installed and configured).
You will also need to update the domain in infra/index.ts
to something you own.
./deploy-dev.sh
Also, while not exactly part of the "tech stack," one of my motivations for making this was to get better at using CSS Grid layout.