{"id":26070472,"url":"https://github.com/mohit-rajak/ai_code_reviewer","last_synced_at":"2026-04-17T16:01:59.545Z","repository":{"id":281007503,"uuid":"943889374","full_name":"Mohit-Rajak/AI_Code_Reviewer","owner":"Mohit-Rajak","description":" AI-Powered Code Reviewer Using Mern Stack ","archived":false,"fork":false,"pushed_at":"2025-03-06T13:09:06.000Z","size":253,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T00:02:02.984Z","etag":null,"topics":["api","css","gemini-api","html","javascript","nodejs","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohit-Rajak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-06T12:38:33.000Z","updated_at":"2025-03-14T05:59:40.000Z","dependencies_parsed_at":"2025-03-06T14:22:02.646Z","dependency_job_id":"f8f2b41e-bc35-4869-aa54-12d71805ea68","html_url":"https://github.com/Mohit-Rajak/AI_Code_Reviewer","commit_stats":null,"previous_names":["mohit-rajak/ai_code_reviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mohit-Rajak/AI_Code_Reviewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohit-Rajak%2FAI_Code_Reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohit-Rajak%2FAI_Code_Reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohit-Rajak%2FAI_Code_Reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohit-Rajak%2FAI_Code_Reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohit-Rajak","download_url":"https://codeload.github.com/Mohit-Rajak/AI_Code_Reviewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohit-Rajak%2FAI_Code_Reviewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31935697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","css","gemini-api","html","javascript","nodejs","reactjs"],"created_at":"2025-03-09T00:00:38.881Z","updated_at":"2026-04-17T16:01:59.525Z","avatar_url":"https://github.com/Mohit-Rajak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-Powered Code Reviewer \n\u003cimg src=\"/Frontend/src/assets/screenshot.png\"/\u003e\n\nThe AI-Powered Code Reviewer is a MERN stack-based application designed to help developers review their code efficiently. It uses Google's Gemini AI to analyze code and provide detailed feedback on code quality, best practices, performance, and more. This tool is perfect for developers who want to improve their code quality and adhere to industry standards.\n\n---\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Setup Instructions](#setup-instructions)\n  - [Frontend Setup](#frontend-setup)\n  - [Backend Setup](#backend-setup)\n- [Environment Variables](#environment-variables)\n- [Running the Project](#running-the-project)\n- [API Endpoints](#api-endpoints)\n- [Folder Structure](#folder-structure)\n- [Contributing](#contributing)\n- [License](#license)\n- [Acknowledgments](#acknowledgments)\n- [Author]\n- [Thank You]\n\n---\n\n## Introduction\nThe AI-Powered Code Reviewer is a web application that allows developers to submit their code for review. The application uses Google's Gemini AI to analyze the code and provide feedback on various aspects such as code quality, best practices, performance, and security. The feedback is displayed in a clean, readable Markdown format, making it easy for developers to understand and implement the suggestions.\n\n## Features\n- **Code Editor**: Write and edit code directly in the browser.\n- **AI-Powered Review**: Get instant feedback on your code using Google's Gemini AI.\n- **Markdown Support**: Review feedback is displayed in a clean, readable Markdown format.\n- **Responsive Design**: Works seamlessly on desktop, tablet, and mobile devices.\n- **Social Media Links**: Connect with the developer via GitHub, LinkedIn, and Twitter.\n\n## Technologies Used\n### Frontend\n- **React**: JavaScript library for building the user interface.\n- **React Simple Code Editor**: For the code editor component.\n- **PrismJS**: For syntax highlighting.\n- **Axios**: For making API requests to the backend.\n- **CSS**: Custom styles for a modern and responsive design.\n\n### BackEnd\n- **Express.js**: Node.js framework for building the backend server.\n- **Google Gemini AI**: For generating code reviews.\n- **CORS**: To enable cross-origin requests.\n\n### Tools\n- **VS Code**: Recommended code editor.\n- **Nodemon**: For automatically restarting the backend server during development.\n- **npm**: Package manager for installing dependencies.\n\n## Setup Instructions\n\n### Frontend Setup\nNavigate to the frontend folder:\n```bash\ncd frontend\n```\nInstall dependencies:\n```bash\nnpm install\n```\nStart the development server:\n```bash\nnpm run dev\n```\nOpen your browser and visit:\n```\nhttp://localhost:5173\n```\n\n### BackEnd Setup\nNavigate to the backend folder:\n```bash\ncd backend\n```\nInstall dependencies:\n```bash\nnpm install\n```\nStart the backend server:\n```bash\nnpx nodemon\n```\nThe backend will run on:\n```\nhttp://localhost:3000\n```\n\n## Environment Variables\nCreate a `.env` file in the backend folder and add the following:\n```env\nGOOGLE_GEMINI_KEY=your_google_gemini_api_key_here\n```\n\n## Running the Project\nStart the backend server:\n```bash\ncd backend\nnpx nodemon\n```\nStart the frontend development server:\n```bash\ncd frontend\nnpm run dev\n```\nOpen your browser and visit:\n```\nhttp://localhost:5173\n```\n\n## API Endpoints\n### POST `/ai/get-review`\n**Description**: Submit code for review.\n\n#### Request Body:\n```json\n{\n  \"code\": \"function sum() { return 1 + 1; }\"\n}\n```\n#### Response:\n```json\n{\n  \"response\": \"Your code review feedback...\"\n}\n```\n\n## Folder Structure\n```\nAI-Powered-Code-Reviewer/\n├── frontend/\n│   ├── public/\n│   ├── src/\n│   │   ├── components/\n│   │   │   ├── App.jsx\n│   │   │   ├── Footer.jsx\n│   │   ├── App.css\n│   │   ├── main.jsx\n│   ├── package.json\n├── backend/\n│   ├── controllers/\n│   │   ├── ai.controller.js\n│   ├── routes/\n│   │   ├── ai.routes.js\n│   ├── services/\n│   │   ├── ai.service.js\n│   ├── app.js\n│   ├── package.json\n├── .env\n├── README.md\n```\n\n## Contributing\nContributions are welcome! Follow these steps:\n\n1. **Fork the repository**.\n2. Create a new branch:\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n3. Commit your changes:\n   ```bash\n   git commit -m \"Add your feature\"\n   ```\n4. Push to the branch:\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n5. **Open a pull request**.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Acknowledgments\n- **Google Gemini AI**: For providing the AI model for code review.\n- **React Community**: For creating amazing tools and libraries.\n\n## Author\n\nMohit Rajak \\\nEmail: contact.mohitrajak022004@gmail.com \\\nLinkedIn : https://www.linkedin.com/in/Mohit-Rajak/\n\n## Thank You\n\nThank you for exploring AI-PoweredBy Code Reviewer! Your feedback is valuable. If you have any suggestions or thoughts, feel free to share them with us. 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohit-rajak%2Fai_code_reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohit-rajak%2Fai_code_reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohit-rajak%2Fai_code_reviewer/lists"}