Initial: Fastify API + DB schema + collab setup

- Fastify API on :3000 (tasks, groups, auth, connectors)
- PostgreSQL schema: users, tasks, task_groups, goals, connectors
- 8 default task groups
- JWT auth (register/login/me)
- API Bridge framework with webhooks
- CLAUDE.md + polling scripts
- Collab worker integration

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude CLI Agent
2026-03-29 09:57:56 +00:00
commit 9d075455e3
13 changed files with 2430 additions and 0 deletions

31
api/package.json Normal file
View File

@@ -0,0 +1,31 @@
{
"name": "task-team-api",
"version": "1.0.0",
"description": "Task Team API Server",
"main": "index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"test": "echo No tests yet"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"@fastify/cors": "^11.2.0",
"@fastify/helmet": "^13.0.2",
"@fastify/jwt": "^10.0.0",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.5",
"bcrypt": "^6.0.0",
"dotenv": "^17.3.1",
"fastify": "^5.8.4",
"pg": "^8.20.0",
"redis": "^5.11.0",
"uuid": "^13.0.0"
},
"devDependencies": {
"nodemon": "^3.1.14"
}
}