Skip to content

AI Code Reviewer offers real-time code analysis using Google Gemini AI, helping developers identify bugs and optimize their code. This application leverages a modern tech stack, ensuring a smooth user experience and quick access to actionable insights. πŸ™βœ¨

Notifications You must be signed in to change notification settings

nasher-dev/AI-Code-Reviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Code Reviewer πŸ€–πŸ’»

GitHub Release
View Releases

Welcome to the AI Code Reviewer repository! This project is a full-stack web application that uses Google Gemini AI to review code, provide actionable feedback, and suggest improvements in real-time. This README will guide you through the features, installation, usage, and contribution details of the project.

Table of Contents

Features

  • Real-Time Code Review: The application analyzes your code as you type, providing instant feedback.
  • Actionable Suggestions: Get clear, actionable suggestions for code improvements.
  • Multi-Language Support: Supports various programming languages, making it versatile for developers.
  • User-Friendly Interface: The clean and intuitive UI ensures a smooth user experience.
  • Integration with GitHub: Easily connect your GitHub repositories for seamless code reviews.

Technologies Used

This project utilizes a range of technologies to deliver its functionality:

  • Frontend:

    • React
    • CSS
    • PrismJS for syntax highlighting
    • React Markdown for rendering Markdown content
  • Backend:

    • Node.js
    • Express.js
    • Axios for making HTTP requests
    • CORS for handling cross-origin requests
  • AI Integration: Google Gemini AI for code analysis and feedback.

Installation

To get started with the AI Code Reviewer, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/nasher-dev/AI-Code-Reviewer.git
    cd AI-Code-Reviewer
  2. Install Dependencies: For the frontend:

    cd client
    npm install

    For the backend:

    cd server
    npm install
  3. Set Up Environment Variables: Create a .env file in the server directory and add your Google Gemini API key:

    GEMINI_API_KEY=your_api_key_here
    
  4. Run the Application: Start the backend server:

    cd server
    npm start

    Start the frontend application:

    cd client
    npm start

Visit http://localhost:3000 in your browser to access the application.

Usage

Using the AI Code Reviewer is straightforward:

  1. Access the Application: Open your web browser and go to http://localhost:3000.
  2. Log In: If you have a GitHub account, log in to connect your repositories.
  3. Start Reviewing: Paste your code into the editor. The AI will analyze it and provide feedback in real-time.
  4. Implement Suggestions: Review the suggestions provided and make improvements to your code as needed.

For more detailed instructions, check the Releases section for downloadable files and execution steps.

Contributing

We welcome contributions! If you would like to contribute to the AI Code Reviewer, please follow these steps:

  1. Fork the Repository: Click the fork button at the top right of the page.
  2. Create a Branch: Create a new branch for your feature or bug fix:
    git checkout -b feature/your-feature-name
  3. Make Changes: Implement your changes in the code.
  4. Commit Your Changes:
    git commit -m "Add your message here"
  5. Push to Your Fork:
    git push origin feature/your-feature-name
  6. Create a Pull Request: Go to the original repository and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, feel free to reach out:

Thank you for checking out the AI Code Reviewer! We hope it helps you improve your coding skills and streamline your development process. For the latest updates, visit the Releases section.

About

AI Code Reviewer offers real-time code analysis using Google Gemini AI, helping developers identify bugs and optimize their code. This application leverages a modern tech stack, ensuring a smooth user experience and quick access to actionable insights. πŸ™βœ¨

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •