3 Commits

Author SHA1 Message Date
Dani 79b47207db fix: use correct @vercel/postgres version 0.10.0 2025-08-19 15:15:50 -04:00
Dani 477edf1c22 add: Supabase-based tracking endpoint and database initialization
- Add track-download-supabase.js using @supabase/supabase-js client
- Add init-db.js to check/initialize database tables
- Update dependencies to include Supabase client and latest @vercel/postgres
- Configure Supabase environment variables
- Provide SQL instructions for manual table creation if needed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 15:13:57 -04:00
Dani d6fc02b52f fix: update Vercel API configuration for proper deployment
- Fix runtime configuration to use @vercel/node instead of nodejs18.x
- Convert API to ES modules for Vercel compatibility
- Add package.json for API function dependencies
- Ensure proper module handling for @vercel/postgres

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:32:37 -04:00