Overview
Implement backend support for CV templates using the {{PLACEHOLDER}} syntax so the system can generate a personalized CV by replacing placeholders with user-provided values.
This feature is required for the template-based CV generation flow.
Requirements
- Support detecting placeholders using the pattern
{{PLACEHOLDER}}
- Persist or expose template-related metadata needed by the frontend
- Support CV generation using a template document with placeholders
- Replace placeholders with the provided values before returning the final CV
- Keep the existing base CV generation flow unchanged
- Make sure the template flow is compatible with the current Google Drive integration
Functional Rules
- Base CV flow must keep the current behavior
- Template CV flow must replace placeholders only when the template mode is selected
- Placeholder detection must be based on the template document content
- The backend must not break existing resume generation
Acceptance Criteria
- Backend can detect placeholders in template content
- Backend can generate a final CV with all placeholders replaced
- Existing base CV generation still works
- API contract is stable and backward compatible
Overview
Implement backend support for CV templates using the
{{PLACEHOLDER}}syntax so the system can generate a personalized CV by replacing placeholders with user-provided values.This feature is required for the template-based CV generation flow.
Requirements
{{PLACEHOLDER}}Functional Rules
Acceptance Criteria