pahvalentines/backend/app
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
..
routers feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00
services feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00
__init__.py Add backend API, video generator, and frontend updates 2026-01-30 10:31:58 -06:00
config.py feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00
database.py Add backend API, video generator, and frontend updates 2026-01-30 10:31:58 -06:00
main.py feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00
models.py feat: make pet image upload optional 2026-02-03 18:03:25 -06:00
prompts.py fix: Add banned words list to all pet prompts 2026-02-02 12:17:18 -06:00
schemas.py feat: add human detection using NudeNet for pet photo validation 2026-02-04 08:57:23 -06:00