A full-stack application for automated code review and analysis of Python and React (JavaScript/TypeScript) codebases. The system provides comprehensive reports on code quality, security, performance, best practices, complexity, documentation, and technology-specific insights.
- Automatic Language Detection: Distinguishes between Python and React code.
- Comprehensive Analysis: Evaluates code for quality, security, performance, best practices, complexity, and documentation.
- Technology-Specific Insights: Provides React and Python-specific recommendations.
- Executive Summary Reports: Generates detailed markdown reports for each code review.
- User Management: Organizes reports by user and job.
- Modern Frontend: Built with React and Tailwind CSS.
- REST API Backend: Built with FastAPI (Python).
backend/
app/
analyzer_logic/
routes/
utils/
static/
main.py
.env
frontend/
src/
public/
package.json
tailwind.config.js
...
- Python 3.8+
- Node.js 14+
- npm
-
Install dependencies
Navigate to thebackenddirectory and install required packages:pip install -r requirements.txt
-
Configure Environment
Copy.env.exampleto.envand set your environment variables. -
Run the Backend
uvicorn main:app --reload
-
Install dependencies
Navigate to thefrontenddirectory:npm install
-
Run the Frontend
npm start
- Access the frontend at
http://localhost:3000 - The backend API runs at
http://localhost:8000 - Upload or paste your code for analysis and receive a detailed markdown report.
- backend/app/analyzer_logic/: Core logic for code analysis.
- backend/app/routes/: API endpoints.
- backend/app/utils/: Utility modules (database, extensions, models).
- backend/static/: Stores generated reports by user.
- frontend/src/: React application source code.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Made with ❤️ for automated code review.