# InsightCode π§ π»
InsightCode is an AI-powered code review assistant designed to improve code quality through static analysis and natural language feedback. It integrates with GitHub and CI/CD pipelines to provide real-time code review assistance.
- Python 3.8 or later
- Node.js 14 or later
- npm (Node Package Manager)
- Git
-
Clone the Repository:
git clone https://github.com/yourusername/InsightCode.git cd InsightCode
-
Backend Setup:
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install dependencies:
pip install -r backend/requirements.txt
- Set up environment variables by copying
config/settings.py
toconfig/.env
and configuring necessary variables. - Run the backend server:
cd backend python run.py
- Create and activate a virtual environment:
-
Frontend Setup:
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the frontend application:
npm start
- Navigate to the frontend directory:
-
Backend Tests:
cd backend pytest
-
Frontend Tests:
cd frontend npm test
Configuration files for CI/CD are located in the ci_cd/
directory, including GitHub Actions and Jenkins configurations.
Utility scripts for data preprocessing and model deployment are found in the scripts/
directory.
- Setup Guide: Step-by-step instructions to set up the project.
- User Guide: Manual for using the InsightCode tool.
- Best Practices: Guidelines for writing clean, maintainable code.
config/settings.py
: Global settings and application configuration.config/secrets.json
: Sensitive information like API keys and database credentials.
Log files are located in the logs/
directory:
app.log
: Captures application events, errors, and other relevant information.
We welcome contributions! Please refer to our contributing guidelines for more details on how to get involved.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding! π