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:
@@ -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 {}
|
||||
Reference in New Issue
Block a user