![](https://private-user-images.githubusercontent.com/36747253/252126967-4a33b179-44de-40a2-b250-2dcd750b445b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MzY0MDYsIm5iZiI6MTcyMTgzNjEwNiwicGF0aCI6Ii8zNjc0NzI1My8yNTIxMjY5NjctNGEzM2IxNzktNDRkZS00MGEyLWIyNTAtMmRjZDc1MGI0NDViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDE1NDgyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdhODQ2MWMxM2QyYjM5ZjI3N2U2ZTYyOTgyMDdhNDI4ZjMxNTc5NzgzOWIwMTBmYTEzODUwMjEyOTljMGY4ZDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mbJCU65eq_byUcRTiMPabGbQQMU8KZklXGMuHzB0slo)
Check it out at here!
- formats math in a human-readable way
- supports variable assignment (simply type the letter you want as a variable)
- stores history of equations (click on the clock icon to see history, each equation is clickable!)
- latex equation insertion
- frontend: React.js
- backend: Express.js
- database: sqlite3 (postgresSQL on production)
- host: Render
- operating system: mac/linux/wsl
- node.js 18
- sqlite3
- clone the repo:
git clone https://github.com/TheFatPanda97/calculator.git
- go into the repo:
cd calculator
- run the setup script:
./setup.bash
- go into the backend directory:
cd backend
and create a.env
file with the following content:
DB_TYPE="sqlite3"
CURR_ENV="development"
further configuration can be found in backend/.env.example
- run the frontend and backend server script in the root of the repo:
./run.sh
- go to http://localhost:5173 to see the application
- that's it! have fun playing with the calculator :D