An AI-powered matrix calculator web application that provides instant solutions for matrix operations, complete with step-by-step explanations. Built with React, Vite, and powered by Google's Generative AI.
- Installation
- Usage
- Features
- Folder Structure
- Contributing
- License
- Security
- Code of Conduct
- Tech Stack
- Dependencies
-
Clone the repository:
git clone https://github.com/H0NEYP0T-466/Matrix_Calculator.git cd Matrix_Calculator -
Install frontend dependencies:
npm install
-
Install backend dependencies:
cd backend npm install -
Configure environment variables:
Create a
.envfile in thebackenddirectory with your API key:GEMINI_API_KEY=your_google_genai_api_key
-
Start the backend server:
cd backend npm start -
Start the frontend development server:
# From the root directory npm run dev -
Open the app:
Navigate to
http://localhost:5173in your browser.
- Launch the application by following the installation steps above.
- Enter your matrix values in the input fields.
- Select an operation (addition, subtraction, multiplication, determinant, inverse, transpose, etc.).
- Click "Calculate Now!" to get instant results.
- View step-by-step explanations powered by AI.
- Matrix Operations โ Addition, subtraction, multiplication, and more
- AI Explanations โ Get detailed explanations powered by Google's Generative AI
- Step-by-Step Solutions โ Understand how the calculation was performed
- Modern UI โ Smooth animations with GSAP
- Math Rendering โ Beautiful mathematical notation with KaTeX
- Responsive Design โ Works on desktop and mobile devices
Matrix_Calculator/
โโโ backend/
โ โโโ controller/
โ โ โโโ controller.js
โ โโโ model/
โ โ โโโ ai_model.js
โ โโโ index.js
โ โโโ package.json
โ โโโ package-lock.json
โโโ public/
โโโ Router/
โ โโโ Router.jsx
โโโ src/
โ โโโ assets/
โ โโโ components/
โ โ โโโ Nav_bar.jsx
โ โ โโโ Nav_bar.css
โ โ โโโ Page.jsx
โ โ โโโ Page.css
โ โ โโโ Reveiw_page.jsx
โ โ โโโ Reveiw_Page.css
โ โโโ App.jsx
โ โโโ App.css
โ โโโ main.jsx
โ โโโ index.css
โโโ index.html
โโโ package.json
โโโ package-lock.json
โโโ vite.config.js
โโโ eslint.config.js
โโโ .gitignore
โโโ README.md
โโโ LICENSE
โโโ CONTRIBUTING.md
โโโ SECURITY.md
โโโ CODE_OF_CONDUCT.md
Contributions are welcome! Please read the Contributing Guidelines for details on how to submit pull requests, report bugs, and suggest features.
This project is licensed under the MIT License. See the LICENSE file for details.
For reporting security vulnerabilities, please read our Security Policy.
Please read and follow our Code of Conduct to ensure a welcoming and inclusive community.
Frontend - Runtime Dependencies
โ Promise based HTTP client for the browser and Node.js
โ Professional-grade animation library
โ A JavaScript library for building user interfaces
โ React package for working with the DOM
โ Render Markdown as React components
โ Declarative routing for React
โ DOM bindings for React Router
Frontend - Dev Dependencies
โ TypeScript definitions for React
โ TypeScript definitions for React DOM
โ Official React plugin for Vite
โ Pluggable JavaScript linter
โ ESLint rules for React Hooks
โ Global identifiers from different JavaScript environments
Made with โค by H0NEYP0T-466