https://github.com/ankitjhagithub21/code-reviewer
This is an ai code reviewer app which review the provided code by the user and find errors and give solution.
https://github.com/ankitjhagithub21/code-reviewer
ai-code-reviewer code-reviewer expressjs nodejs reactjs
Last synced: 3 months ago
JSON representation
This is an ai code reviewer app which review the provided code by the user and find errors and give solution.
- Host: GitHub
- URL: https://github.com/ankitjhagithub21/code-reviewer
- Owner: ankitjhagithub21
- Created: 2025-02-12T19:15:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T08:44:17.000Z (over 1 year ago)
- Last Synced: 2025-08-23T06:03:10.049Z (11 months ago)
- Topics: ai-code-reviewer, code-reviewer, expressjs, nodejs, reactjs
- Language: JavaScript
- Homepage: https://code-reviewer-opal.vercel.app
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AI Code Reviewer
AI Code Reviewer is a web application that uses Google Gemini 2.0 Flash to analyze and review code. Built with ReactJS, NodeJS, and ExpressJS, the app helps developers improve their code quality by providing intelligent feedback and suggestions.
## ๐ ๏ธ Tech Stack
- **Frontend:** ReactJS,Prismjs,react-markdown,react-simple-code-editor
- **Backend:** NodeJS, ExpressJS
- **AI Model:** Google Gemini 2.0 Flash
## ๐ Features
- ๐ **Code Analysis:** Analyze code for best practices, performance, and potential bugs.
- โก **Real-time Feedback:** Get suggestions and improvements in real-time.
- ๐ **Code Quality Insights:** Receive insights on code structure, readability, and maintainability.
- ๐ **User-Friendly Interface:** Simple and intuitive interface for efficient code reviews.
## ๐ฆ Installation
1. Clone the repository:
```bash
git clone https://github.com/ankitjhagithub21/code-reviewer.git
cd code-reviewer
```
2. Install dependencies:
```bash
# Install client dependencies
cd frontend
npm install
# Install server dependencies
cd ../backend
npm install
```
3. Set up environment variables:
Create a `.env` file in the `server` directory with the following:
```bash
GEMINI_API_KEY=your_google_gemini_api_key
PORT=3000
ORIGIN=http://localhost:5173
```
4. Start the application:
```bash
# Start the server
cd backend
npm start
# Start the client
cd frontend
npm start
```
The app will be accessible at `http://localhost:5173`.
## ๐งช Usage
1. Enter your code into the provided text area.
2. Click the "Review" button.
3. View AI-generated feedback and suggestions.
## โ ๏ธ Limitations
- Performance may depend on the AI model's response time.
- Code analysis is limited to the capabilities of Google Gemini 2.0 Flash.
## ๐ค Contributing
Contributions are welcome! Feel free to fork the repository, submit issues, or create pull requests.
## ๐ License
This project is licensed under the MIT License.
---
**Happy Coding!** ๐