Skip to content

anushka-sys/AI_Code_Reviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Code Reviewer

A full-stack AI-powered code review application built with React + Node.js + Express.
It analyzes your code using AI and provides instant, meaningful reviews and improvement suggestions.

🌐 Live Demo: https://ai-code-reviewer-1-hfo0.onrender.com

🧠 Backend API: https://ai-code-reviewer-ju27.onrender.com

πŸš€ Features

  • 🧩 Paste & Review Code β€” instantly get AI feedback and suggestions.
  • ⚑ Full-Stack App β€” powered by React (frontend) and Node.js/Express (backend).
  • πŸ” Environment-based URLs β€” automatically switches between local and production APIs.
  • 🌍 Deployed on Render β€” both backend and frontend hosted live.
  • πŸͺ„ Clean UI β€” minimal design, responsive, and easy to use.

πŸ› οΈ Tech Stack

Layer Technology
Frontend React + Vite + Axios
Backend Node.js + Express
AI Logic Gemini API (or similar)
Deployment Render.com
Version Control Git + GitHub

πŸ“ Folder Structure

AI_Code_Reviewer/
|
|-- backend/
|   |-- src/
|   |   |-- controllers/
|   |   |-- routes/
|   |   |-- services/
|   |   |-- app.js
|   |   `-- server.js
|   |
|   |-- package.json
|   `-- .env (contains backend secrets)
|
|-- frontend/
|   |--dist
|   |--public
|   |-- src/
|   |   |-- components/
|   |   |-- App.css
|   |   |-- App.jsx
|   |   `-- main.jsx
|   |
|   |-- vite.config.js
|   |-- package.json
|   `-- .env (contains VITE_API_URL)
|
`-- README.md

βš™οΈ Environment Variables

πŸ”Ή Backend (backend/.env)

PORT=10000 GEMINI_API_KEY=your_gemini_api_key_here

πŸ”Ή Frontend (frontend/.env)

VITE_API_URL=https://ai-code-reviewer-ju27.onrender.com

🧩 Render environment variables should match these values.


πŸ’» Local Setup

1️⃣ Clone the repo

git clone https://github.com/anushka-sys/AI_Code_Reviewer.git
cd AI_Code_Reviewer

2️⃣ Setup and run the backend

cd backend
npm install
node server.js

Server runs on http://localhost:10000

3️⃣ Setup and run the frontend

cd ../frontend
npm install
npm run dev

Frontend runs on http://localhost:5173

🌍 Deployment (on Render)

Method Endpoint Description
POST /ai/get-review Accepts code input and returns AI review

πŸŽ₯ Demo

image

πŸ’‘ Future Enhancements

  • πŸ” Syntax highlighting for code editor
  • πŸ“œ Save previous reviews locally
  • 🌈 Multi-language support
  • 🧠 Use custom AI models for better analysis

⭐ Support

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


πŸ‘©β€πŸ’» Author

Anushka Wabale
πŸ’Ό GitHub: @anushka-sys
πŸ”— LinkedIn: Anushka Wabale
🐦 X (Twitter): @anushka_wabale
πŸ“§ Email: anushka.wable2002@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published