AI Code Reviewer is a web application that utilizes Google’s Gemini Flash 2.0 API to analyze and review code snippets. Built with React.js for the frontend and Node.js for the backend, it provides an AI-driven code review experience.
- AI-Powered Code Review: Uses Google’s Gemini Flash 2.0 API for code analysis.
- Syntax Highlighting: Enhanced code readability with Prism.js and React Simple Code Editor.
- Markdown Support: Displays AI feedback in markdown format.
- Real-time Feedback: Fast and interactive code review experience.
- Modern UI: Designed with TailwindCSS and Lucide React icons.
- Deployed on Render: Accessible online with backend and frontend hosted seamlessly.
- React.js
- Vite
- TailwindCSS
- Axios
- Prism.js
- React Markdown
- React Simple Code Editor
- Node.js
- Express.js
- @google/generative-ai (Gemini Flash 2.0)
- Dotenv
- Cors
Ensure you have Node.js and npm installed.
git clone https://github.com/KhushiPandey8/aicoderreviewer.git
cd aicoderreviewer
cd backend
npm install
npm start
cd ../frontend
npm install
npm run dev
This project is deployed on Render. You can access it here.
- Create a Render account.
- Deploy the backend as a web service.
- Deploy the frontend as a static site and configure it to point to the backend URL.
- Set up necessary environment variables.
We welcome contributions! Follow these steps to contribute:
- Go to the repository on GitHub.
- Click on the Fork button (top right corner) to create a copy of the repository under your GitHub account.
git clone https://github.com/KhushiPandey8/aicoderreviewer.git
cd aicoderreviewer
git checkout -b feature-name
- Make your changes in the appropriate files.
- Stage your changes:
git add .
- Commit your changes:
git commit -m "Added new feature"
git push origin feature-name
- Go to your forked repository on GitHub.
- Click on the Compare & pull request button.
- Add a descriptive title and comment about the changes.
- Submit the Pull Request.
- Frontend contributions:
frontend/
- Backend contributions:
backend/
- API integrations:
backend/server.js
- UI/UX improvements:
frontend/src/
This project is licensed under the ISC License.
Developed by Khushi Pandey.
Feel free to contribute and improve AI Code Reviewer! 🚀
=====
Leave a Reply