Skip to content

kaibad/codesage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSage

CodeSage is an intelligent code review platform that leverages Google's Gemini API to provide automated, AI-powered code reviews. Built with the PERN stack and TypeScript, it helps developers receive instant feedback on code quality, potential bugs, security vulnerabilities, best practices, and performance optimizations. Users can submit code snippets or entire files, receive detailed reviews with explanations, and track their code improvement over time.

Key Features:

  • AI-powered code analysis using Gemini API
  • Support for multiple programming languages
  • Detailed feedback on code quality, security, and performance
  • User authentication and project management
  • Review history and analytics
  • Syntax highlighting and code formatting

Tech Stack:

  • Frontend: React with TypeScript, Tailwind CSS
  • Backend: Node.js, Express with TypeScript
  • Database: PostgreSQL
  • AI: Google Gemini API
  • Authentication: JWT-based auth

Execution Flow Design

User Authentication Flow

User → Register/Login → JWT Token Generated → Store in localStorage/Cookie → Access Protected Routes

Code Review Flow

User uploads code → Backend receives request → Store in DB (pending) → Send to Gemini API → Process AI response → Store review results → Return to frontend → Display formatted review

Project Management Flow

User creates project → Associate code reviews with project → View project analytics → Track improvements over time

About

CodeSage is an intelligent code review platform that leverages Google's Gemini API to provide automated, AI-powered code reviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages