2026-03-08 22:41:39 -05:00
# BREEDR - Dog Breeding Genealogy Management System
A reactive, interactive dog breeding genealogy mapping system for professional kennel management.
2026-03-12 07:35:15 -05:00
---
2026-03-09 02:18:48 -05:00
2026-03-12 07:35:15 -05:00
## 🌟 Recent Highlights (v0.8.0)
- **✅ Reverse Pedigree** — Toggle between ancestors and descendants view for full lineage tracking.
- **✅ External Dog Mapping** — Assign parents to external dogs, allowing for full genealogy of outside lines.
- **✅ Universal Parent Selection** — Select any dog (kennel or external) as a sire/dam from any profile.
2026-03-09 02:18:48 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-09 22:45:55 -05:00
2026-03-12 07:35:15 -05:00
## 🚀 Quick Start
2026-03-09 02:18:48 -05:00
2026-03-12 11:26:48 -05:00
### 1. Docker Deployment (Recommended)
2026-03-08 23:41:29 -05:00
```bash
2026-03-09 02:18:48 -05:00
git clone https://git.alwisp.com/jason/breedr.git
cd breedr
docker-compose up -d --build
2026-03-08 22:41:39 -05:00
```
2026-03-12 07:35:15 -05:00
Access at: `http://localhost:3000`
2026-03-08 22:41:39 -05:00
2026-03-12 11:26:48 -05:00
### 2. Manual Development Setup
2026-03-08 22:41:39 -05:00
```bash
npm install
npm run dev
```
2026-03-12 11:26:48 -05:00
> **Note:** The database initializes automatically on first boot. No manual migrations are required.
2026-03-08 22:41:39 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-08 22:41:39 -05:00
2026-03-12 11:26:48 -05:00
## 🐕 Managing Your Kennel
2026-03-08 22:41:39 -05:00
2026-03-12 11:26:48 -05:00
- **Adding Dogs**: Go to the **Dogs ** page, click **Add New Dog ** . You can mark dogs as **External ** if they aren't in your kennel but are needed for pedigree mapping.
- **Champion Tracking**: Toggle the **Champion ** status to title dogs. Offspring will automatically display the "Champion Bloodline" badge.
- **Photo Management**: Multiple high-quality photos per dog with a compact gallery view.
- **Litter Tracking**: Link puppies to breeding records automatically to track weight and health from birth.
2026-03-09 20:39:41 -05:00
2026-03-12 11:26:48 -05:00
## 🧬 Breeding & Genetics
2026-03-09 22:45:55 -05:00
2026-03-12 11:26:48 -05:00
- **Interactive Pedigree**: 5-generation trees with zoom/pan. Toggle the **Reverse Pedigree ** switch to see descendant lineage.
- **Trial Pairing Simulator**: Calculate Wright's Inbreeding Coefficient (COI) instantly. Identifies common ancestors and providing risk badges (Low/Moderate/High).
- **Heat Cycles**: Track female cycles on the calendar. Includes **projected whelping alerts ** (indigo windows) and expected due dates.
2026-03-09 20:39:41 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-09 20:39:41 -05:00
2026-03-12 07:35:15 -05:00
## 🛠️ Technology Stack
- **Frontend**: React 18, Vite, Lucide Icons
2026-03-12 11:26:48 -05:00
- **Visualization**: React-D3-Tree, D3.js
2026-03-12 07:35:15 -05:00
- **Backend**: Node.js, Express.js
- **Database**: SQLite (Zero-config, safe `ALTER TABLE` migrations)
- **Deployment**: Multi-stage Docker
2026-03-09 20:39:41 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-08 22:41:39 -05:00
2026-03-12 07:35:15 -05:00
## 📂 Project Structure
```
breedr/
├── client/ # React frontend (Pages: Pedigree, Pairing, Calendar, Settings)
├── server/ # Node.js backend (Routes: Dogs, Pedigree, Breeding, Settings)
├── static/ # Branded assets (logos, etc.)
├── data/ # SQLite database storage (mapped in Docker)
├── uploads/ # Dog photo storage (mapped in Docker)
2026-03-12 11:26:48 -05:00
└── docs/ # Technical documentation and design history
2026-03-09 02:18:48 -05:00
```
2026-03-12 07:35:15 -05:00
---
2026-03-09 02:18:48 -05:00
2026-03-12 07:35:15 -05:00
## 🕒 Release Summary
2026-03-09 02:18:48 -05:00
2026-03-12 07:35:15 -05:00
- **v0.8.0** (Mar 2026): Reverse Pedigree & External dog parentage.
- **v0.7.0** (In Progress): Health & Genetics (OFA clearances, DNA panels).
- **v0.6.1**: COI calculation fix for direct parent× offspring relations.
- **v0.6.0**: Champion status tracking & Kennel settings API.
2026-03-08 22:41:39 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-08 22:41:39 -05:00
2026-03-12 07:35:15 -05:00
## ❓ Troubleshooting
2026-03-12 11:26:48 -05:00
- **COI shows 0.00%?**: Ensure both parents are mapped and have shared ancestors.
- **Missing Columns?**: Restart the server; auto-init guards add columns automatically.
2026-03-12 07:35:15 -05:00
- **Logo not appearing?**: Place `br-logo.png` in the `static/` directory.
2026-03-08 22:41:39 -05:00
2026-03-12 07:35:15 -05:00
---
2026-03-12 11:26:48 -05:00
**Full Documentation**:
[Installation Guide ](INSTALL.md ) | [Development & Architecture ](DEVELOPMENT.md ) | [API Reference ](API.md ) | [Roadmap ](ROADMAP.md )