LegalEagle is an AI-native NestJS service for ingesting, enriching, and querying legal documents.
- Start with Getting Started for setup, configuration, and local development.
- Read Architecture Overview to understand the module layout and request flow.
- Use Data & Operations for seeding, document workflows, deployment notes, and troubleshooting.
- Review Roadmap & Deep Dives for current feature direction and implementation context.
- GraphQL endpoints for uploading, listing, updating, and deleting legal documents.
- PDF and HTML parsing with OpenAI enrichment support.
- Prisma ORM with PostgreSQL migrations, seed data, and CLI helpers.
- Docker and Docker Compose support for local development.
- Centralised logging utilities, health checks, and Swagger documentation.
OPENAI_API_KEYenables the best metadata extraction and similarity results.npm testruns the Jest suite configured for the repository.npm run check-ts-buildvalidates the TypeScript build without emitting files.