- Comprehensive image extraction architecture design - Database schema for document_images table - Migration 004: Add document_images table with indexes - Migration runner script - Design and status documentation Prepares foundation for image extraction feature with OCR on images. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analysis | ||
| api | ||
| architecture | ||
| bugs | ||
| creative | ||
| debates | ||
| development | ||
| features | ||
| handover | ||
| roadmap | ||
| testing | ||
| ui | ||
| AGENTS.md | ||
| DEPLOYMENT_STACKCP.md | ||
| GOOGLE_OCR_COMPARISON.md | ||
| OCR_OPTIONS.md | ||
| README.md | ||
| STACKCP_QUICKSTART.md | ||
| TROUBLESHOOTING.md | ||
NaviDocs Documentation
Complete documentation for NaviDocs marine documentation management platform.
Quick Links
- New to NaviDocs? → Start with QUICKSTART.md
- Deploying to production? → See deployment/
- Want to contribute? → Read development/DEVELOPMENT.md
- Looking for roadmap? → Check roadmap/MASTER_ROADMAP.md
Documentation Structure
📐 Architecture
System design, database schema, and architectural decisions.
- ARCHITECTURE-SUMMARY.md - High-level architecture overview
- database-schema.sql - Complete SQL schema (13 tables)
- meilisearch-config.json - Search engine configuration
- hardened-production-guide.md - Security hardening checklist
Key Decisions:
- Hybrid database strategy (SQLite + Meilisearch)
- Multi-vertical schema (boats → marinas → properties)
- Security-first design (tenant tokens, file safety pipeline)
- Offline-first PWA architecture
🚀 Deployment
Deployment guides for StackCP shared hosting and VPS.
- STACKCP_QUICKSTART.md - 30-minute StackCP deployment
- DEPLOYMENT_STACKCP.md - Detailed StackCP guide
- STACKCP_EVALUATION_REPORT.md - StackCP evaluation results
- STACKCP_VERIFICATION_SUMMARY.md - Test results on StackCP
- STACKCP_ARCHITECTURE_ANALYSIS.md - Technical deep-dive
- STACKCP_DEBATE_BRIEF.md - Deployment decision framework
- STACKCP_QUICK_REFERENCE.md - Quick decision-making tool
Deployment Options:
- StackCP ($0/month) - Existing shared hosting + cloud services
- VPS ($6/month) - Full control, recommended for production
Key Findings:
- StackCP requires split code/data locations (
/tmpfor code,~/for data) - Redis Cloud + Google Vision API recommended for StackCP
- VPS deployment is standard Node.js application
📚 Guides
Feature guides and how-tos for OCR, search, and other features.
- OCR_PIPELINE_SETUP.md - Complete OCR pipeline guide
- OCR_FINAL_RECOMMENDATION.md - OCR strategy recommendation
- OCR_OPTIONS.md - Comparison of 3 OCR engines
- GOOGLE_DRIVE_OCR_QUICKSTART.md - Google Drive OCR setup
- GOOGLE_OCR_COMPARISON.md - Drive API vs Vision API
OCR Engine Options:
- Tesseract - Local, free, 85% confidence (working)
- Google Drive API - Unlimited free, handwriting support
- Google Cloud Vision API - 1K pages/month free, recommended for production
Hybrid System: Auto-selects best available engine with fallback
🔧 Development
Development setup, port allocation, testing, and build documentation.
- DEVELOPMENT.md - CRITICAL: System-wide port registry + dev guidelines
- PORT_ALLOCATION.md - Port allocation strategy
- PORT_MIGRATION_SUMMARY.md - Port migration documentation
- BUILD_COMPLETE.md - Build process documentation
- IMPLEMENTATION_COMPLETE.md - Implementation notes
- TEST_RESULTS.md - Testing documentation
Important for Developers:
- ALWAYS check DEVELOPMENT.md before using any port
- NaviDocs uses ports 8001, 8080, 6379, 7700
- Ports 3000-5500 are FORBIDDEN (reserved for other projects)
- Run
sudo lsof -i :PORTto verify availability
Development Workflow:
# Read port registry first!
cat docs/development/DEVELOPMENT.md
# Start services
redis-server
meilisearch --master-key=yourkey
cd server && node index.js # Port 8001
cd client && npm run dev # Port 8080
📋 Handover
Session notes, project handover documents, and status updates.
- NAVIDOCS_HANDOVER.md - Complete project handover (65% MVP)
- SESSION_STATUS.md - Session status summary
- SERVICES_STATUS.md - Current service status
- GITEA_ACCESS.md - Gitea repository access notes
- ANALYSIS_INDEX.md - StackCP analysis overview
Current Status (2025-10-19):
- v1.0 MVP: 65% complete
- Database: 13 tables, initialized
- OCR: 3 engines implemented (Tesseract working at 85%)
- Backend: Core routes functional
- Frontend: 20% complete
- Deployment: Ready for StackCP or VPS
Next Steps:
- Complete frontend UI (1-2 days)
- Add authentication (1 day)
- Deploy single boat demo (1 day)
🎨 Creative
Branding, design briefs, and visual identity documentation.
- BRANDING_CREATIVE_BRIEF.md - Comprehensive brand identity brief (542 lines)
For Designers:
- 5 logo concept options (compass, document+wave, search beacon, ND monogram, abstract boat)
- Color palette (navy blue, ocean blue, neutral grays)
- Typography suggestions (SF Pro, Inter, Roboto)
- Technical specifications (SVG, PNG, favicon formats)
- Success metrics (favicon test, squint test, B&W test)
Brand Personality:
- Professional (90%), Trustworthy (90%), Reliable (85%)
- Meilisearch-inspired aesthetic (clean, modern, spacious)
- "Expensive, grown-up" feel - enterprise software, not consumer app
💬 Debates
Feature debates and stakeholder analysis documents.
- 01-schema-and-vertical-analysis.md - Database schema design debate
- 02-yacht-management-features.md - Yacht management stakeholder debate
Debate Topics:
- Schema Design (47 minutes) - SQLite vs PostgreSQL, single vs multi-tenant
- Yacht Management (90 minutes) - 6 stakeholders, 18 features identified
Key Outcomes:
- Hybrid SQLite + Meilisearch approach approved
- Multi-tenant schema from day 1 (future-proof)
- v1.1 yacht management features validated ($89K ARR potential)
🗺️ Roadmap
Product roadmap from v1.0 MVP through v1.4 and future verticals.
- MASTER_ROADMAP.md - Complete roadmap (v1.0-v1.4 + verticals)
- v1.0-mvp.md - MVP features and timeline
- 2-week-launch-plan.md - Intensive 2-week launch plan
Roadmap Summary:
v1.0 MVP (2-4 weeks) - Single Boat Owner
- Document upload + OCR + search
- Offline PWA
- Basic auth
- Status: 65% complete
v1.1 Yacht Management (Q1 2026) - Multi-Tenant
- Time tracking with GPS
- Photo-required work logs
- Warranty database
- Automated invoicing
- Revenue: $89K ARR potential
v1.2 Equipment Intelligence (Q2 2026)
- Equipment database
- Warranty OCR + expiration alerts
- Service history tracking
v1.3 Operational Efficiency (Q3 2026)
- Task assignment system
- Voice-to-text logs
- Handoff notes
v1.4 Compliance (Q4 2026)
- Tamper-proof audit logs
- Safety equipment tracking
- Tax-ready reports
Future: Marina management, property management, commercial fleets
📊 Analysis
Technical analysis and evaluation documents.
- lilian1-extraction-plan.md - Plan for extracting code from legacy project
Search This Documentation
By Topic
Getting Started:
Development:
- Port Registry ⚠️ Read this FIRST
- Testing
- Build Process
Features:
Deployment:
- StackCP Quick Start (30 minutes)
- StackCP Evaluation (comprehensive)
- VPS Deployment (coming soon)
By Role
For Developers:
- Read DEVELOPMENT.md - Port registry + guidelines
- Read QUICKSTART.md - Local setup
- Read Architecture - System design
- Read Roadmap - Feature plan
For DevOps/Deployment:
- Read StackCP Quick Start - Fast deploy
- Read StackCP Evaluation - Detailed analysis
- Read Architecture - Security hardening
For Product/Business:
- Read Roadmap - Complete product plan
- Read Yacht Management Debate - Feature validation
- Read Handover - Current status
For Designers:
- Read Branding Brief - Complete design brief
- Read Architecture Summary - Design philosophy
Documentation Standards
File Naming
UPPERCASE_WITH_UNDERSCORES.md- Project-level docs (root)lowercase-with-dashes.md- Feature-specific docs (subfolders)01-descriptive-name.md- Numbered series (debates)
Folder Organization
docs/
├── architecture/ # System design (rarely changes)
├── deployment/ # Deployment guides (per platform)
├── guides/ # Feature guides (per feature)
├── development/ # Dev setup (changes with each port/setup change)
├── handover/ # Session notes (per session)
├── creative/ # Brand/design (rarely changes)
├── debates/ # Feature debates (one per major decision)
├── roadmap/ # Product roadmap (quarterly updates)
└── analysis/ # Technical analysis (per analysis)
Markdown Style
- Use
#for document title (only one per file) - Use
##for main sections - Use
###for subsections - Use
---for horizontal rules - Use code blocks with language tags
- Use tables for comparison data
- Use checkboxes for task lists
Contributing to Documentation
Adding New Documentation
- Choose the right folder (see folder organization above)
- Follow naming conventions (see file naming above)
- Update this README (add link in appropriate section)
- Add to git (
git add docs/...) - Commit with clear message (
docs: Add X guide)
Updating Existing Documentation
- Read the doc first (understand current content)
- Make targeted changes (don't rewrite unnecessarily)
- Update "Last Updated" date (if present)
- Commit with clear message (
docs: Update X with Y)
Documentation Quality Checklist
- Clear, concise title
- Table of contents (if >500 lines)
- Code examples with syntax highlighting
- Links to related docs
- Real-world examples
- Troubleshooting section (if applicable)
- Last updated date
- Spell check passed
Quick Reference
Most Important Docs (Read These First)
- README.md - Project overview
- QUICKSTART.md - Get started in 10 minutes
- DEVELOPMENT.md - Port registry + dev guidelines
- MASTER_ROADMAP.md - Complete product plan
- NAVIDOCS_HANDOVER.md - Current status
Most Referenced Docs
- Port Registry: development/DEVELOPMENT.md
- Database Schema: architecture/database-schema.sql
- OCR Setup: guides/OCR_PIPELINE_SETUP.md
- Deployment: deployment/STACKCP_QUICKSTART.md
Document Statistics
- Total Documents: 33 files
- Root Files: 2 (README.md, QUICKSTART.md)
- Architecture Docs: 4 files
- Deployment Docs: 7 files
- Guide Docs: 5 files
- Development Docs: 6 files
- Handover Docs: 5 files
- Creative Docs: 1 file
- Debate Docs: 2 files
- Roadmap Docs: 3 files
- Analysis Docs: 1 file
Last Updated: 2025-10-19 Documentation Coverage: 95%+ (only missing VPS deployment guide)
Support
- Questions? Check QUICKSTART.md or DEVELOPMENT.md
- Issues? See handover/NAVIDOCS_HANDOVER.md known issues
- Contributing? Read development/DEVELOPMENT.md guidelines
Happy documenting! 📚