Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

🚀 CodeSense AI

CodeSense AI is an AI-powered code review assistant that helps developers analyze their code, identify bugs, get improvement suggestions, and understand time & space complexity using Generative AI.

It provides a VS Code-like coding experience with an integrated AI reviewer that gives instant feedback on your code.


✨ Features

🔐 Authentication

  • User Registration & Login
  • JWT based authentication
  • Protected routes

🤖 AI Code Review

  • Analyze code using Generative AI
  • Detect possible bugs
  • Suggest improvements
  • Provide optimized approaches
  • Explain code quality

💻 Code Editor

  • VS Code-like Monaco Editor
  • Support for multiple languages:
    • C++
    • Python
    • JavaScript

📊 Dashboard

  • View total code reviews
  • Track languages used
  • View previous reviews
  • Access detailed AI feedback

📚 Review History

  • Save previous AI reviews
  • View complete review details
  • Store analyzed code securely

🎨 Modern UI

  • Dark theme interface
  • Responsive design
  • Interactive components

🛠️ Tech Stack

Frontend

  • React.js
  • Vite
  • Tailwind CSS
  • React Router DOM
  • Axios
  • Monaco Editor

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JWT Authentication
  • bcrypt.js

AI Integration

  • Groq API
  • Llama 3.3 Model

📂 Project Structure

CodeSense-AI │ ├── client │ ├── src │ │ ├── components │ │ ├── pages │ │ └── services │ └── server ├── controllers ├── middleware ├── models ├── routes └── server.js


⚙️ Installation & Setup

1. Clone Repository

git clone https://github.com/AnjleenaGupta/CodeSense-AI.git

Backend Setup

Navigate to server: cd server

Install dependencies: npm install

Create a .env file: PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret GROQ_API_KEY=your_groq_api_key

Start backend server: npm run dev

Backend will run on: http://localhost:5000


Frontend Setup

Open another terminal:
cd client

Install dependencies:
npm install

Run frontend:
npm run dev

Frontend will run on:
http://localhost:5174
````

🔄 Application Flow
User
 |
 | Register/Login
 |
JWT Authentication
 |
Dashboard
 |
Code Editor
 |
AI Code Review
 |
MongoDB Storage
 |
Review History

`````
🚀 Future Improvements
AI generated code fixes
GitHub repository code analysis
Multiple file review support
Code quality scoring
Deployment with cloud hosting
More programming language support
``````

🌟 Why CodeSense AI?

CodeSense AI combines software development and artificial intelligence to help developers write cleaner, optimized, and better-quality code with instant feedback.
``````

👩‍💻 Author

Anjleena Gupta

B.Tech Computer Science Engineering (AI)

Releases

Packages

Contributors

Languages