Initial todo app setup

- Backend: Bun + Elysia + Drizzle ORM + PostgreSQL
- Frontend: React + Vite + TailwindCSS + Zustand
- Auth: better-auth with invite-only system
- Features: Tasks, Projects, Sections, Labels, Comments
- Hammer API: Dedicated endpoints for AI assistant integration
- Unit tests: 24 passing tests
- Docker: Compose file for deployment
This commit is contained in:
2026-01-28 14:02:15 +00:00
commit 98ea0427bb
58 changed files with 6605 additions and 0 deletions

37
apps/api/package.json Normal file
View File

@@ -0,0 +1,37 @@
{
"name": "todo-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",
"test": "bun test",
"test:watch": "bun test --watch",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:seed": "bun run src/db/seed.ts"
},
"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",
"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"
}
}