Nuxt 4 (app/ structure) + TypeScript, ESLint, Vitest + @nuxt/test-utils, Drizzle + pg, a /api/health route with a DB ping, and a dev docker-compose (app + Postgres). Verified: pnpm test, lint, and build pass; the built server answers /api/health.
11 lines
235 B
TypeScript
11 lines
235 B
TypeScript
import { defineConfig } from 'drizzle-kit'
|
|
|
|
export default defineConfig({
|
|
dialect: 'postgresql',
|
|
schema: './server/db/schema.ts',
|
|
out: './server/db/migrations',
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL ?? '',
|
|
},
|
|
})
|