Skip to content

debojeetmitra/Code_Review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI-Powered Code Reviewer (MERN Stack + AI)

🔗 Live Demo: https://ai-code-review-adn4.onrender.com
🔗 GitHub Repo: https://github.com/debojeetmitra/Code_Review

An AI-powered full-stack code review application built using the MERN stack, integrated with Google Generative AI. It analyzes code, detects issues, and suggests improvements to help developers write better and cleaner code.


✨ Features

  • 🤖 AI-based code review using Google Generative AI
  • 🧠 Smart analysis of code quality and structure
  • 🐞 Bug detection and improvement suggestions
  • ⚡ Real-time code input and response generation
  • 🎨 Clean and responsive UI
  • 📄 Markdown formatted AI responses
  • 🚀 Fully deployed full-stack application

🛠️ Tech Stack

Frontend:

  • React.js (Vite)
  • Axios
  • PrismJS (Syntax Highlighting)
  • Markdown Rendering Libraries

Backend:

  • Node.js
  • Express.js
  • Google Generative AI API
  • CORS enabled API handling

📁 Project Structure

Code_Review/ │ ├── client/ (React Frontend - Vite) │ ├── components/ │ ├── pages/ │ └── App.jsx │ ├── server/ (Express Backend) │ ├── routes/ │ ├── controllers/ │ └── config/ │ ├── .env ├── package.json └── README.md


⚙️ Installation & Setup

1. Clone repository

git clone https://github.com/debojeetmitra/Code_Review.git
cd Code_Review


2. Install dependencies

Backend

cd server
npm install

Frontend

cd client
npm install


3. Setup environment variables

Create .env file inside /server:

GOOGLE_API_KEY=your_google_generative_ai_key
PORT=5000


4. Run project

Start backend

cd server
npm start

Start frontend

cd client
npm run dev


🚀 Deployment

  • Frontend: Render / Vercel
  • Backend: Render
  • AI API: Google Generative AI

🧠 What I Learned

  • Integration of AI APIs in full-stack apps
  • Google Generative AI usage
  • MERN architecture
  • Real-time API request handling
  • Markdown rendering in React
  • Code syntax highlighting with PrismJS
  • Deployment of AI-powered apps

👨‍💻 Author

Debojeet Mitra
GitHub: https://github.com/debojeetmitra
Live Project: https://ai-code-review-adn4.onrender.com


⭐ Support

If you like this project, please give it a ⭐ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors