Thanks for helping improve NPR RAG.
- Fork and clone the repository.
- Run one of the setup scripts from repo root:
- Linux/macOS:
./setup.sh - Windows (PowerShell):
./setup.ps1
- Linux/macOS:
- Start the app:
python run.py
Key local endpoints:
- Frontend:
http://localhost:3000 - API docs:
http://localhost:8000/docs - Health:
http://localhost:8000/health?check_services=true
- Create a feature branch from
main. - Keep changes focused and small when possible.
- Open a pull request with:
- What changed
- Why it changed
- How you tested it
- Any follow-up work
- Keep functions focused and testable.
- Prefer explicit error handling and actionable messages.
- Add comments only where intent is non-obvious.
- Add or update tests for behavior changes.
Run backend checks:
cd backend
pytest tests/test_acl_unit.py -q- Follow existing component and naming patterns.
- Keep UI changes accessible and responsive.
- Ensure lint and build pass before opening a PR.
Run frontend checks:
cd frontend
npm run lint
npm run buildWhen behavior, setup, or APIs change:
- Update
README.mdand/orSETUP.md. - Keep examples copy/paste-ready.
- Remove stale instructions in the same PR.
Please include:
- Environment (OS, Python version, Node version)
- Steps to reproduce
- Expected behavior
- Actual behavior
- Logs/screenshots if relevant