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

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# Database
DATABASE_URL=postgresql://postgres:password@localhost:5432/networkapp
# Server
PORT=3000
APP_URL=http://localhost:3000
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# BetterAuth
BETTER_AUTH_SECRET=your-secret-key-here-min-32-chars
# AI (LangChain)
ANTHROPIC_API_KEY=your-anthropic-api-key
# Email (Resend)
RESEND_API_KEY=your-resend-api-key
DEFAULT_FROM_EMAIL=onboarding@resend.dev