Refactor and enhance document and recipe import functionality

- Removed the QuickImport module and service to streamline the codebase.
- Introduced DocumentImport module, service, and controller for handling PDF uploads and conversions to Markdown.
- Added PdfParser for parsing PDF files and extracting text.
- Implemented DocumentParser as an abstract class for future document parsers.
- Created a new GenericRecipeParser and IcaRecipeParser for handling recipe data from various sources.
- Developed QuickImportService to manage recipe scraping from URLs.
- Enhanced error handling and validation for file uploads and input processing.
- Updated project documentation with a structured plan for future development and improvements.
This commit is contained in:
Nils-Johan Gynther
2026-04-23 15:54:14 +02:00
parent e18bf79395
commit 409d0b6b06
15 changed files with 127 additions and 6 deletions
@@ -0,0 +1,9 @@
import { Module } from '@nestjs/common';
import { DocumentImportController } from './controllers/document-import.controller';
import { DocumentImportService } from './services/document-import.service';
@Module({
controllers: [DocumentImportController],
providers: [DocumentImportService],
})
export class DocumentServiceModule {}