BlockHash Auth Backend
Better Auth server ready for Vercel.
This project exposes the Better Auth API for the BlockHash Expo app. After deployment, point the mobile app to https://your-domain.com/api/auth.
Endpoints
/api/auth/*: Better Auth route handler
/api/health: simple health check
Environment
BETTER_AUTH_SECRET and BETTER_AUTH_URL are required for production.
Add the Google, Apple, and Facebook client credentials only for the providers you want enabled.
Important
This starter uses Better Auth's stateless mode for the fastest Vercel deployment path. It is great for getting social auth running quickly, but if you need durable server-side user/session storage, add a real database next.