Base URL: /api
Register a new user.
Body: { "email": "user@example.com", "password": "password123" }
Login to receive an access token and httpOnly refresh cookie.
Body: { "email": "user@example.com", "password": "password123" }
Get a new access token using the httpOnly refresh cookie.
Clear the refresh token cookie.
Get all tasks for the logged-in user.
Query Params: page (default 1), limit (default 10), status (PENDING/COMPLETED), search (title)
Create a new task.
Body: { "title": "My Task", "description": "Details..." }
Get a specific task by ID.
Update a task.
Body: { "title": "Updated Title", "status": "COMPLETED" }
Toggle task status (PENDING ↔ COMPLETED).
Delete a task.