Commit Graph
3 Commits
Author SHA1 Message Date
adrianbonpin f8aa64bd32 feat(auth): mount Better-Auth on Elysia server with session macro and role guards 2026-04-25 13:42:07 +08:00
adrianbonpin 52ab8484cf fix(api): add global error handler and export app type
- Add .onError hook for centralized error handling and consistent JSON formatting
- Export app instance and App type for Eden Treaty client integration

Reference: Task 2, Issues 1 and 2
2026-04-25 13:11:45 +08:00
adrianbonpin a3cba6950e feat(api): set up Elysia server with health check on Next.js catch-all route 2026-04-25 13:04:41 +08:00