Commit Graph

51 Commits

Author SHA1 Message Date
84745822f5 feat(02-01): implement database schema and API endpoints for task management
- Added Task model to Prisma schema with id, title, description, completed, createdAt, updatedAt fields
- Created POST /api/tasks endpoint for task creation
- Created GET /api/tasks endpoint for retrieving all tasks
- Created PUT /api/tasks/:id endpoint for updating tasks
- Created DELETE /api/tasks/:id endpoint for deleting tasks
- Created PATCH /api/tasks/:id/complete endpoint for toggling task completion
- Created TaskItem component for displaying and editing tasks
- Defined Task TypeScript interface
- All endpoints include proper validation and error handling
2026-01-25 11:17:18 +01:00