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.
- 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
- Frontend: React with TypeScript, Tailwind CSS
- Backend: Node.js, Express with TypeScript
- Database: PostgreSQL
- AI: Google Gemini API
- Authentication: JWT-based auth
User → Register/Login → JWT Token Generated → Store in localStorage/Cookie → Access Protected Routes
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
User creates project → Associate code reviews with project → View project analytics → Track improvements over time