This project is a web-based calculator with an interactive feature that allows users to draw mathematical equations or problems on a canvas. The drawn content is captured and sent to the backend for analysis. The backend processes the drawing, interprets the math expressions, and returns the solution using Google's Gemini AI model.
ipad-calculator/
├── frontend/ # React-based frontend code
│ ├── public/ # Static files
│ ├── src/ # React components and logic
│ └── package.json # Frontend dependencies
├── backend/ # Node.js-based backend code
│ ├── apps/ # Contains application-specific code for the backend
│ │ └── calculate/ # The calculation-related logic
│ │ ├── utils.js # Utility functions for backend processing
│ │ └── route.js # API routes to handle requests
│ ├── constants.js # Configuration and environment variables
│ ├── main.js # Entry point for the backend server
│ ├── schema.js # Defines the database schema (if applicable)
│ └── package.json # Backend dependencies
└── README.md # Project documentation