Initial API scaffold: Elysia + Bun + Drizzle + BetterAuth + LangChain

This commit is contained in:
2026-01-27 02:43:11 +00:00
commit 06f1b4e548
18 changed files with 1807 additions and 0 deletions

36
package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "network-app-api",
"version": "0.1.0",
"module": "src/index.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun run --watch src/index.ts",
"start": "bun run src/index.ts",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio"
},
"devDependencies": {
"@types/bun": "latest",
"@types/pg": "^8.16.0",
"drizzle-kit": "^0.31.8"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@elysiajs/bearer": "^1.4.2",
"@elysiajs/cors": "^1.4.1",
"@langchain/anthropic": "^1.3.12",
"@langchain/core": "^1.1.17",
"better-auth": "^1.4.17",
"drizzle-orm": "^0.45.1",
"elysia": "^1.4.22",
"pg-boss": "^12.7.0",
"postgres": "^3.4.8",
"resend": "^6.8.0",
"zod": "^4.3.6"
}
}