InfiniteLoop360/Software-Code-Bug-Detection-Fixing
• Paste code snippets into an interactive editor. • Click on the "Review" button to submit the code for analysis. • Receive AI-generated feedback on code quality, errors, and potential improvements in markdown format. • Get structured, human-like explanations of detected issues.
AI-Powered Code Review Hub! 🚀
An AI-Powered Code Reviewer built using the MERN Stack! This project leverages Artificial Intelligence to analyze, review, and suggest improvements for code, enhancing development efficiency.
📝 Features
- 💡 AI-driven code analysis and review
- 🎨 Syntax highlighting with Prism.js
- 🤖 Google Generative AI integration for code suggestions
- 📝 Markdown rendering for improved readability
- 🔗 Seamless frontend-backend communication using Axios & CORS support
🛠️ Tech Stack
- Frontend: React (Vite), Prism.js, Axios
- Backend: Node.js, Express.js, Google Generative AI API
- Deployment: https://software-code-bug-detection-fixing-y7wo.vercel.app/
📂 Project Structure
BackEnd/
├── node_modules/
├── src/
│ ├── controllers/
│ │ ├── ai.controller.js
│ ├── routes/
│ │ ├── ai.routes.js
│ ├── services/
│ │ ├── ai.Service.js
│ ├── app.js
│ ├── server.js
├── .env
├── package.json
├── package-lock.json
Frontend/
├── node_modules/
├── public/
├── src/
│ ├── assets/
│ ├── App.css
│ ├── App.jsx
│ ├── index.css
│ ├── main.jsx
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── README.md
├── vite.config.js
🚀 Installation
Follow these steps to set up the project locally:
1️⃣ Clone the repository
git clone https://github.com/InfiniteLoop360/Software-Code-Bug-Detection-Fixing.git
cd Software-Code-Bug-Detection-Fixing2️⃣ Backend Setup
cd BackEnd
npm install # Install dependencies
npx nodemon # Start the backend server3️⃣ Frontend Setup
cd Frontend
npm install # Install dependencies
npm run dev # Start the frontend🎯 Usage
- Paste your code in the editor.
- Click "Review Code" to get AI-powered suggestions.
- View highlighted syntax and AI feedback.
- Enhance your code with AI-driven improvements!
🏗️ Future Improvements
- Authentication & user history
- Improve UI with additional components.
- Performance optimization
🤝 Contributing
Feel free to fork this repo, submit pull requests, and suggest enhancements!
📜 License
This project is licensed under the MIT License.
Developed with ❤️ by Sudipto Maity
🌟 Star this repo if you found it useful!
Documentation
Click here to read the Documentation
Demo
https://drive.google.com/file/d/1igeWaKYdjHhB1wwTTwrbWFe3SMJUy2Lu/view?usp=drive_link