Thank you for your interest in contributing to CorpLens AI Enterprise Edition!
- Python 3.11+
- Node.js 18+ & npm 9+
- Docker & Docker Compose v2.20+
# 1. Clone repository
git clone https://github.com/Yamn2905/CorpLens-AI.git
cd CorpLens-AI
# 2. Setup Backend Virtual Environment
cd backend
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Linux/macOS:
source venv/bin/activate
pip install -r requirements.txt
# 3. Setup Frontend Dependencies
cd ../frontend
npm install- Adhere to PEP 8 style guidelines.
- Ensure strict type annotations on all FastAPI route parameters and service functions.
- Run
pytestinside thebackend/directory before committing code:pytest -v
- Use functional components with React hooks.
- Maintain type safety without using
any. - Check TypeScript types prior to committing:
npx tsc --noEmit
- Create a feature branch off
main:git checkout -b feature/my-new-feature. - Commit your changes with conventional commit messages (e.g.,
feat: add sanction fuzzy matching engine,fix: resolve graph canvas rendering bug). - Ensure all 22 backend Pytest tests pass and TypeScript check is clean.
- Submit a Pull Request targeting the
mainbranch with a clear summary of changes.