chore: scaffold Nuxt 4 app with Postgres, tooling and health route

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.
This commit is contained in:
Julien Calixte
2026-05-27 22:16:46 +02:00
parent e81ee53f7b
commit c13f3deeff
21 changed files with 10255 additions and 0 deletions

36
package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "andon",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "nuxt typecheck",
"db:generate": "drizzle-kit generate",
"db:migrate": "tsx server/db/migrate.ts"
},
"dependencies": {
"drizzle-orm": "^0.45.2",
"nuxt": "^4.4.6",
"pg": "^8.21.0",
"vue": "^3.5.34",
"vue-router": "^5.0.7"
},
"devDependencies": {
"@nuxt/eslint": "^1.15.2",
"@nuxt/test-utils": "^4.0.3",
"@types/pg": "^8.20.0",
"@vue/test-utils": "^2.4.10",
"drizzle-kit": "^0.31.10",
"eslint": "^10.4.0",
"happy-dom": "^20.9.0",
"tsx": "^4.22.3",
"vitest": "^4.1.7"
}
}