deckhearth/api
Randall Stillwell 323d6a3dd3 Add health check and improve database test endpoint
🔧 Improvements:
- Add /api/health endpoint for basic API functionality testing
- Improve /api/test-db with timeout handling and better error reporting
- Add environment variable checks before database operations
- Add connection timeouts to prevent function timeouts
- Better error handling and logging

🧪 Testing Endpoints:
- /api/health - Simple API health check (no DB required)
- /api/test-db - Database connectivity test with timeout protection

These changes should help identify whether the issue is with API routing, environment variables, or database connectivity.
2025-07-22 06:36:13 -05:00
..
admin Fix Vercel function request body parsing 2025-07-21 21:11:13 -05:00
auth Add debugging tools and optimize auth endpoints 2025-07-21 21:39:08 -05:00
v1/cards Fix Node.js 18 compatibility for Vercel deployment 2025-07-21 16:08:45 -05:00
health.ts Add health check and improve database test endpoint 2025-07-22 06:36:13 -05:00
migrate.ts Fix Vercel ES module import issues 2025-07-21 16:12:24 -05:00
setup-auth.ts Add debugging tools and optimize auth endpoints 2025-07-21 21:39:08 -05:00
test-db.ts Add health check and improve database test endpoint 2025-07-22 06:36:13 -05:00
tsconfig.json Fix Vercel ES module import issues 2025-07-21 16:12:24 -05:00