Welcome to Next.js!
Visit the demo API /api/jokes
Use this Template
Here's the data returned directly from the Database.
[
{
"_id": "64c4f30e31cc406cf4b9af53",
"setup": "What did the customer say to the waiter?",
"delivery": "I'm all fed up with your service."
},
{
"_id": "64c4f32931cc406cf4b9af54",
"setup": "Why do programmers always mix up Christmas and Halloween?",
"delivery": "Because Oct 31 == Dec 25!"
},
{
"_id": "64c4f33e31cc406cf4b9af55",
"setup": "Why do programmers prefer dark mode?",
"delivery": "Because light attracts bugs!"
},
{
"_id": "64c4f40b31cc406cf4b9af56",
"setup": "Why don't scientists trust atoms?",
"delivery": "Because they make up everything!"
},
{
"_id": "64c4f42631cc406cf4b9af57",
"setup": "Why don't eggs tell jokes?",
"delivery": "They might crack up!"
},
{
"_id": "64c4f44431cc406cf4b9af58",
"setup": "What did the traffic light say to the car?",
"delivery": "Don't look, I'm about to change!"
},
{
"_id": "64c4f46631cc406cf4b9af59",
"setup": "Why do programmers hate nature walks?",
"delivery": "Too many bugs and no Wi-Fi!"
},
{
"_id": "64c4f4b531cc406cf4b9af5a",
"setup": "Why do programmers prefer to work alone?",
"delivery": "They don't like merge conflicts!"
},
{
"_id": "64c4f4d831cc406cf4b9af5b",
"setup": "What did one ocean say to the other ocean?",
"delivery": "Nothing, they just waved."
},
{
"_id": "64c4f50631cc406cf4b9af5c",
"setup": "Why don't some couples go to the gym?",
"delivery": "Because some relationships don't work out!"
}
]