feat: getting the db ready

This commit is contained in:
2026-03-18 00:14:36 +01:00
parent 9703fa77e2
commit 3be2034a49
12 changed files with 1122 additions and 89 deletions

8
server/env.ts Normal file
View File

@@ -0,0 +1,8 @@
import 'dotenv/config'
import { z } from 'zod'
const schema = z.object({
DATABASE_URL: z.string().min(1),
})
export const env = schema.parse(process.env)