Some checks failed
Build & Release / build (push) Has been cancelled
- users table created on startup via migrate() - POST /api/auth/setup to create first user (blocked once any user exists) - POST /api/auth/login returns httpOnly JWT cookie (7d expiry) - POST /api/auth/logout clears cookie - GET /api/auth/me for auth check - All /api/customers routes require valid JWT - Frontend shows login form when unauthenticated - Fix type errors in k8s, do, and pgbouncer services
27 lines
561 B
JSON
27 lines
561 B
JSON
{
|
|
"name": "lunarfront-manager",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/index.ts",
|
|
"start": "bun run src/index.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/node": "^25.5.2"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^11.0.2",
|
|
"@fastify/jwt": "^10.0.0",
|
|
"@fastify/static": "^9.0.0",
|
|
"fastify": "^5.8.4",
|
|
"postgres": "^3.4.8",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|