CodeReview.AI is an intelligent code review application that leverages AI to provide comprehensive code analysis. The app allows developers to upload and review code snippets with AI-powered insights.
- Frontend: React
- Styling: Tailwind CSS
- Backend: Node.js with Express
- AI Integration: Google Gemini API
- Additional Libraries:
- Framer Motion (animations)
- CodeMirror (code editor)
- Axios (HTTP requests)
- React Markdown (review rendering)
- π File Upload Support
- π» Code Editor with Syntax Highlighting
- π€ AI-Powered Code Review
- π¨ Responsive and Animated UI
- π Supports Multiple Programming Languages
- Node.js (v16+ recommended)
- npm or yarn
- Google Gemini API Key
- Clone the repository
git clone https://github.com/amitsingh2003/Code-Review.Ai.git
cd codereview-ai- Install Frontend Dependencies
cd frontend
npm install- Install Backend Dependencies
cd ../backend
npm install- Configure Environment Variables
Create a
.envfile in the backend directory:
GEMINI_API_KEY=your_google_gemini_api_key
PORT=3000
- Start Backend Server
cd backend
npm start- Start Frontend Development Server
cd frontend
npm start- JavaScript (.js)
- TypeScript (.ts)
- JSX (.jsx)
- TSX (.tsx)
- HTML
- CSS
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Ensure your Gemini API key is kept confidential
- Implement proper input sanitization
- Use environment variables for sensitive configurations
