AI based Code Editor

Web-based code editor that uses AI to review code automatically. Users can write or paste JavaScript code in a browser editor (Monaco Editor). When they click the “Review” button, the code is sent to a Node.js backend, which forwards it to the Google Gemini AI API. The AI analyzes the code and returns feedback such as bugs, performance issues, readability improvements, and best-practice suggestions, which are then displayed in a review panel beside or below the editor.

Description

Developing a web-based code editor with an AI-powered code review feature. Users can write or paste JavaScript code in a Monaco-based editor and click a "Review" button to send the code to a Node.js backend. The backend integrates with the Google Gemini API to analyze the code and provide suggestions on bugs, performance improvements, readability, and best practices. The AI feedback is displayed in a panel alongside the editor, helping developers quickly improve their code.