A modern pull request review tool that integrates with GitHub and provides intelligent code review suggestions.
- GitHub Integration
- Intelligent Code Review
- Custom Review Rules
- Multiple Language Support
- Team Collaboration
- Node.js 18+
- pnpm
- GitHub Account
- Supabase Account
- Clone the repository:
git clone https://github.com/yourusername/pr-rev.git
cd pr-rev
- Install dependencies:
pnpm install
- Set up environment variables:
cp apps/web/.env.example apps/web/.env.local
Fill in your environment variables in .env.local
.
- Start the development server:
pnpm dev
We use Jest for testing and follow a comprehensive testing strategy including unit tests and integration tests.
- Copy the test environment template:
cp apps/web/.env.test.example apps/web/.env.test
- Fill in the test environment variables (see Testing Guide for details)
# Run all tests
pnpm test
# Run specific test suite
pnpm test apps/web/src/lib/github/__tests__
# Run integration tests
pnpm test apps/web/tests/integration
For detailed testing information, see our Testing Guide.
apps/
├── web/ # Next.js web application
│ ├── src/
│ │ ├── app/ # App router pages
│ │ ├── components/ # React components
│ │ └── lib/ # Core libraries
│ └── tests/ # Integration tests
└── api/ # API service (if needed)
packages/
├── ui/ # Shared UI components
├── config/ # Shared configuration
└── types/ # Shared TypeScript types
- Create a new branch for your feature:
git checkout -b feature/your-feature-name
-
Make your changes and write tests
-
Run tests and linting:
pnpm test
pnpm lint
- Submit a pull request
Please read our Contributing Guide for details on our code of conduct and development process.
This project is licensed under the MIT License - see the LICENSE file for details.