Logo

🎉 Successfully connected to Database

Your Database contains the following comments:

> SELECT * FROM comments ORDER BY created_at DESC LIMIT 10;
[
  {
    "id": 1,
    "author": "Kristian",
    "content": "Congrats!",
    "created_at": "2025-05-20 09:13:57"
  },
  {
    "id": 2,
    "author": "Serena",
    "content": "Great job!",
    "created_at": "2025-05-20 09:13:57"
  },
  {
    "id": 3,
    "author": "Max",
    "content": "Keep up the good work!",
    "created_at": "2025-05-20 09:13:57"
  }
]

Kristian

Congrats!

Serena

Great job!

Max

Keep up the good work!

Build a comments API with Workers and D1