Add Turso/Vercel deployment configuration

- Updated database connection to support Turso auth token
- Added vercel.json with bun build configuration
- Updated environment schema for production deployment
- Added new features and components for production readiness
This commit is contained in:
2025-07-12 01:42:43 -04:00
parent 2d217fab47
commit a1b40e7a9c
75 changed files with 8821 additions and 1803 deletions
+3
View File
@@ -53,6 +53,9 @@ export const authConfig = {
if (!credentials?.email || !credentials?.password) {
return null;
}
if (typeof credentials.email !== 'string' || typeof credentials.password !== 'string') {
return null;
}
const user = await db.query.users.findFirst({
where: eq(users.email, credentials.email),