Track your tasks
| # | Task Name | Description | Time Allotted | Proposed Date | Start Date | End Date | Time Taken | Comment | Status |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Write unit test for successful blog list retrieval | Develop a unit test to verify the blog list API returns correct data. | 0 hr 40 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 2 | Handle database query errors | Implement error handling for issues during blog post retrieval. | 0 hr 30 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 3 | Return blog post summaries as JSON array | Format and send a list of blog post titles, slugs, excerpts, and images. | 0 hr 25 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 4 | Implement basic pagination logic | Add parameters to control the number of posts per page and offset for fetching subsequent pages. | 0 hr 40 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 5 | Order posts by `published_at` descending | Ensure the latest blog posts appear first in the list. | 0 hr 15 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 6 | Retrieve published blog posts from `blog_posts` table | Write the database query to select only published blog posts. | 0 hr 30 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 7 | Develop `BlogController` to fetch blog posts | Create a controller method to handle requests for blog post lists. | 0 hr 30 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending | |||
| 8 | Create GET `/api/blog` route definition | Define the API route for fetching multiple blog posts. | 0 hr 20 min | 02-04-2026 11:24:54 | 0 hr 0 min | Pending |