feat(server): hono server with character schema, valibot, routes (#848)

Co-authored-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
RainbowBird
2026-01-05 16:25:20 +08:00
committed by RainbowBird
co-authored by Neko Ayaka
parent d064a959cf
commit 3dbf3fafd9
27 changed files with 2381 additions and 66 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
"private": true,
"scripts": {
"apply:env": "dotenvx run -f .env -f .env.local --overload --ignore=MISSING_ENV_FILE",
"auth:generate": "pnpm run apply:env -- better-auth generate --config src/scripts/auth.ts --output src/schemas/auth.ts -y",
"auth:generate": "pnpm run apply:env -- better-auth generate --config src/scripts/auth.ts --output src/schemas/accounts.ts -y",
"dev": "pnpm run apply:env -- tsx --watch src/app.ts",
"start": "tsx src/app.ts",
"db:generate": "drizzle-kit generate",
@@ -17,6 +17,7 @@
"@hono/node-server": "^1.19.6",
"better-auth": "^1.4.5",
"drizzle-orm": "^0.44.7",
"drizzle-valibot": "catalog:",
"hono": "^4.10.7",
"injeca": "catalog:",
"postgres": "^3.4.7",