deckhearth/api
Randall Stillwell 824c962f47 Add simple test user promotion endpoint
🔧 Simple Admin Promotion:
- Create api/promote-testuser.js endpoint
- Promotes user ID 1 (testuser) to admin role
- No authentication required (for initial setup)
- Uses working JavaScript + req/res pattern
- Simpler than complex promote-user endpoint
2025-07-22 07:11:02 -05:00
..
admin Add debug logging to promote-user endpoint 2025-07-22 07:10:14 -05:00
auth Remove conflicting TypeScript API files 2025-07-22 06:55:09 -05:00
v1/cards Fix Node.js 18 compatibility for Vercel deployment 2025-07-21 16:08:45 -05:00
debug.js Add comprehensive debug endpoint to check environment variables 2025-07-22 06:53:36 -05:00
migrate.ts Fix Vercel ES module import issues 2025-07-21 16:12:24 -05:00
promote-testuser.js Add simple test user promotion endpoint 2025-07-22 07:11:02 -05:00
setup-auth.js Convert auth endpoints to working Vercel function format 2025-07-22 06:46:09 -05:00
simple.js Add environment variable debugging to simple endpoint 2025-07-22 06:52:30 -05:00
tsconfig.json Fix Vercel ES module import issues 2025-07-21 16:12:24 -05:00