deckhearth/api
Randall Stillwell b462010434 Add proper Next.js API routes and install Next.js types
🔧 API Route Format:
- Add /api/simple.js using standard Vercel function format
- Add /api/hello.ts using proper Next.js API route format
- Install Next.js and types for proper API route support

🧪 Testing Multiple Formats:
- JavaScript endpoint: /api/simple.js
- TypeScript endpoint: /api/hello.ts
- Both use traditional req/res pattern instead of NextRequest/NextResponse

This should help identify the correct API format for Vercel functions.
2025-07-22 06:43:39 -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
hello.ts Add proper Next.js API routes and install Next.js types 2025-07-22 06:43:39 -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
simple.js Add proper Next.js API routes and install Next.js types 2025-07-22 06:43:39 -05:00
simple.ts Simplify Vercel configuration and add basic test endpoint 2025-07-22 06:42:19 -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