Backend (FastAPI): - User auth with email/password and Spotify OAuth - Spotify playlist import with audio feature extraction - AI recommendation engine using Claude API with taste profiling - Save/bookmark recommendations - Rate limiting for free tier (10 recs/day, 1 playlist) - PostgreSQL models with Alembic migrations - Redis-ready configuration Frontend (React 19 + TypeScript + Vite + Tailwind): - Landing page, auth flows (email + Spotify OAuth) - Dashboard with stats and quick discover - Playlist management and import from Spotify - Discover page with custom query support - Recommendation cards with explanations and save toggle - Taste profile visualization - Responsive layout with mobile navigation - PWA-ready configuration Infrastructure: - Docker Compose with PostgreSQL, Redis, backend, frontend - Environment-based configuration
10 lines
413 B
Plaintext
10 lines
413 B
Plaintext
SECRET_KEY=change-me-to-a-random-string
|
|
DATABASE_URL=postgresql+asyncpg://vynl:vynl@db:5432/vynl
|
|
DATABASE_URL_SYNC=postgresql://vynl:vynl@db:5432/vynl
|
|
REDIS_URL=redis://redis:6379/0
|
|
SPOTIFY_CLIENT_ID=your-spotify-client-id
|
|
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
|
|
SPOTIFY_REDIRECT_URI=http://localhost:5173/auth/spotify/callback
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
FRONTEND_URL=http://localhost:5173
|