uroma 5da440e19e feat: add project CRUD API endpoints (SQLite)
Added three new API endpoints for managing projects using SQLite:

- GET /api/projects - Lists all active projects (deletedAt IS NULL)
  * Sorts by lastActivity DESC
  * Returns id, name, description, icon, color, path, sessionCount, createdAt, lastActivity

- POST /api/projects - Creates new project
  * Required fields: name, path
  * Optional fields: description, icon (default '📁'), color (default '#4a9eff')
  * Validates required fields and checks for duplicate names
  * Returns 201 status on success

- PUT /api/projects/:id - Updates existing project
  * Allows updating: name, description, icon, color, path
  * Only updates projects where deletedAt IS NULL
  * Returns 404 if project not found
  * Validates duplicate names on name change

All endpoints use synchronous better-sqlite3 API with parameterized queries.
SessionCount set to 0 for now (will be implemented in Task 3).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5da440e19e · 2026-01-19 16:46:33 +00:00
4 Commits
2026-01-19 16:29:51 +00:00
Description
Super charging claude code with a massive feature list of MCPs, agents, tooling and skills!
375 MiB
Languages
TypeScript 76.3%
Python 12%
Shell 4.4%
JavaScript 4.1%
HTML 2.1%
Other 1%