- Double-click
start-ufml.bat - Wait for both servers to start
- Open http://localhost:3000 in your browser
- Backend: Double-click
start-backend.bat - Frontend: Double-click
start-frontend.bat - Open http://localhost:3000 in your browser
- Python 3.8+ (for backend)
- Node.js 16+ (for frontend)
- Git (for cloning)
# Clone the repository
git clone <repository-url>
cd credit-platform-secure-scaffold-with-policies
# Install backend dependencies
cd apps/api
pip install -r requirements.txt
# Install frontend dependencies
cd ../web
npm install- Frontend: http://localhost:3000
- Backend API: http://127.0.0.1:8000
- API Documentation: http://127.0.0.1:8000/docs
- Check Python is installed:
python --version - Install dependencies:
pip install -r apps/api/requirements.txt - Run:
start-backend.bat
- Check Node.js is installed:
node --version - Install dependencies:
npm install(in apps/web folder) - Run:
start-frontend.bat
- Backend (port 8000): Kill Python processes or change port
- Frontend (port 3000): Kill Node processes or change port
- Real AI Credit Analysis - Uses Ollama for local AI processing
- PDF Credit Report Parsing - Extracts real data from uploaded PDFs
- Advanced Dispute Strategies - E Oscar bypass, factual disputes, consumer law violations
- Specialty Bureau Targeting - LexisNexis, LCI, Innovis, ARS, Clarity, DataX, etc.
- Legal Compliance - FCRA, FDCPA, TILA violation detection
- Police Report Strategies - Identity theft and fraud dispute techniques
- Metro2 Compliance - Advanced dispute validation bypass
- All AI processing happens locally (Ollama)
- No data sent to external services
- Secure file uploads and processing
- GDPR compliant data handling
If you encounter issues:
- Check the troubleshooting section above
- Ensure all dependencies are installed
- Verify both servers are running
- Check browser console for errors
- Backend must be running for real AI analysis
- Mock data warnings appear when backend is down
- Never use mock data for real credit disputes
- Real AI analysis required for legal compliance
# Build and start all services
docker compose build
docker compose up
# Access the application
# Frontend: http://127.0.0.1:3000
# Backend: http://127.0.0.1:8000Docker includes:
- Tesseract OCR for PDF processing
- All dependencies pre-installed
- Consistent environment across platforms
cd apps/api
pip install -r requirements.txt
set DATABASE_URL=sqlite:///./dev.db
set OLLAMA_HOST=http://127.0.0.1:11434
set OLLAMA_MODEL=llama3.1:8b-instruct
uvicorn main:app --host 127.0.0.1 --port 8000 --reloadTest: http://127.0.0.1:8000/healthz
cd apps/web
set NEXT_PUBLIC_API_URL=http://127.0.0.1:8000
set NEXT_PUBLIC_USE_MOCKS=false
npm install
npm run devOpen: http://127.0.0.1:3000
Run the PowerShell smoke tests to verify functionality:
.\scripts\smoke.ps1Tests include:
- Health check
- AI health check
- PDF upload (if sample.pdf exists)
- Report listing
- AI analysis
- Report deletion
# Test backend health
curl http://127.0.0.1:8000/healthz
# Test AI health
curl http://127.0.0.1:8000/ai/health- PDF Upload & Parsing: Upload credit reports with OCR fallback
- AI Analysis: Intelligent analysis using Ollama (llama3.1:8b-instruct)
- Dispute Generation: Automated dispute letter creation
- Client Management: Track clients and their reports
- Real-time Updates: Live status updates and notifications
- Structured Logging: Request tracking and performance monitoring
- Error Handling: Specific error messages for different failure types
- No Mock Data: Real API calls only (configurable via USE_MOCKS flag)