Supercharge your pull requests with intelligent AI-powered code reviews
AI Code Reviewer is an AI-powered NestJS tool that streamlines your development workflow by automatically generating pull request reviews. When a new PR is created in your Bitbucket repository, a webhook triggers our AI to instantly analyze the code and post intelligent, actionable review comments directly to the pull request, helping your team maintain high-quality code with minimal effort.
🎯 Intelligent Reviews • AI-powered analysis that understands your code
🔗 Seamless Integration • Native Bitbucket webhook support
⚡ Instant Feedback • Automatic comment posting on pull requests
🚀 Production Ready • Built with NestJS for enterprise-grade reliability
Before diving in, make sure you have these tools ready:
| Tool | Version | Purpose |
|---|---|---|
| Node.js | v16+ |
Runtime environment |
| npm | v8+ |
Package management |
| Docker | latest |
SonarQube setup (optional) |
1. Clone and navigate to the project:
git clone <repository-url>
cd <repository-folder>2. Install all dependencies:
npm install3. Configure your environment by creating a .env file:
# Application Configuration
PORT=3000
NODE_ENV=develop
# API Credentials
API_TOKEN=<your_api_token>
GROQ_API_KEY=<your_groq_api_key>💡 Pro Tip: Replace the placeholder values with your actual API credentials
npm run start:devPerfect for active development with hot reloading
# Build the project
npm run build
# Start in production mode
npm run start:prodOptimized for performance and stability
We believe in quality code, so we've included comprehensive testing:
# Unit tests
npm run test
# End-to-end tests
npm run test:e2e
# Coverage reports
npm run test:covReady to go live? Follow these simple steps:
1. Build your production bundle:
npm run build2. Deploy the generated dist folder to your preferred hosting platform
Elevate your code quality with integrated SonarQube analysis:
1. Launch SonarQube using Docker:
docker-compose up -d2. Access the dashboard at http://localhost:9000
3. Configure your project using the projectKey from .scannerwork/report-task.txt
Explore our comprehensive API documentation with Swagger UI:
🌐 Live Documentation: http://localhost:3000/api/v1/docs
Interactive API explorer with real-time testing capabilities
We love contributions! Here's how to get involved:
1. 🍴 Fork the repository
2. 🌿 Create your feature branch
3. 💫 Commit your amazing changes
4. 🚀 Push to your branch
5. 📬 Submit a pull request
This project is licensed under the MIT License - feel free to use it however you'd like!
Questions? Ideas? Just want to chat about code?
👨💻 Author: Armando Isai Hernandez Ibarra
⭐ Star this repo if you found it helpful!
Built with ❤️ using NestJS and AI magic