- Add /api/migrate endpoint to populate Neon database with existing JSON data - Update /api/v1/cards/ to query Neon database instead of JSON file - Update /api/v1/cards/[id] to fetch single cards from Neon - Add proper error handling and development debugging - Maintain backward compatibility with existing API interface - Ready to migrate card data to PostgreSQL |
||
|---|---|---|
| .. | ||
| v1/cards | ||
| health.ts | ||
| migrate.ts | ||