pahvalentines/backend/app/services
michael c41e559e81 feat: migrate file storage from local filesystem to Google Cloud Storage
- Add google-cloud-storage dependency to requirements.txt
- Add GCS configuration settings to config.py
- Create storage.py utility module with upload/download/delete operations
  and temp file context managers for video generation
- Update submissions.py to upload photos to GCS and return full GCS URLs
- Update results.py to return full GCS URLs for video and record image
- Update workers.py to use GCS for audio download, video creation, and cleanup
- Update result.js to use audio_url directly from API response
- Update docker-compose.yml with GCS credentials mount

Storage now uses GCS bucket vday2026 in project holiday-project-india.
Database stores blob paths; URLs constructed at API response time.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 08:40:42 -06:00
..
__init__.py feat: add server-side profanity filter with real-time validation 2026-02-04 08:29:58 -06:00
profanity.py feat: add server-side profanity filter with real-time validation 2026-02-04 08:29:58 -06:00
storage.py feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00