Files
the_order/services/intake
defiQUG 6a8582e54d feat: comprehensive project structure improvements and Cloud for Sovereignty landing zone
- Add Cloud for Sovereignty landing zone architecture and deployment
- Implement complete legal document management system
- Reorganize documentation with improved navigation
- Add infrastructure improvements (Dockerfiles, K8s, monitoring)
- Add operational improvements (graceful shutdown, rate limiting, caching)
- Create comprehensive project structure documentation
- Add Azure deployment automation scripts
- Improve repository navigation and organization
2025-11-13 09:32:55 -08:00
..

Intake Service

Service for document ingestion, OCR, classification, and routing.

Features

  • Document upload and ingestion
  • OCR processing
  • Content classification (legal/treaty/finance/history)
  • Entity extraction
  • Routing to appropriate workflows

Development

# Install dependencies
pnpm install

# Run development server
pnpm dev

# Build
pnpm build

# Start production server
pnpm start

API Endpoints

  • GET /health - Health check
  • POST /ingest - Ingest document

Environment Variables

  • PORT - Server port (default: 4001)
  • DATABASE_URL - PostgreSQL connection string
  • STORAGE_PROVIDER - Storage provider (s3/gcs)
  • STORAGE_BUCKET - Storage bucket name