Quick Start
Get RayRay up and running in minutes.
Prerequisites
- Node.js 18+
- Python 3.11+
- PostgreSQL (or use Docker)
1. Start the Backend
cd apps/api
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reloadAPI will be available at http://localhost:8000
2. Start the Frontend
cd apps/web
npm install
npm run devApp will be available at http://localhost:3000
3. Log In
Navigate to http://localhost:3000/login and use a demo account:
| Role | Password | |
|---|---|---|
| Observer | observer@rayray.demo | Demo1234! |
| Analyst | analyst@rayray.demo | Analyst123! |
| Reviewer | reviewer@rayray.demo | Reviewer123! |
| Admin | admin@rayray.demo | Admin123! |
4. Upload a Document
- Go to Documents in the sidebar
- Click Upload
- Select a PDF file
- Wait for extraction to complete
5. Review Extractions
- Click on an uploaded document
- Review extracted data with source evidence highlighted
- Approve or edit as needed
Run Tests
cd apps/api
pytest tests/ -vNext Steps
- Architecture — Understand the system
- API Overview — Integrate with the API
- Auth System — Learn about authentication