Basic API kind of worked out and solved a bunch of things with alpine.js
This commit is contained in:
parent
f49608d74c
commit
07fa59c8e7
12 changed files with 149 additions and 61 deletions
3
public/api/game/1/index.json
Normal file
3
public/api/game/1/index.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{"title": "Turing's Tarpit",
|
||||
"description": "The description.",
|
||||
"url": "/game/1/turings-tarpit/"}
|
6
public/api/game/index.json
Normal file
6
public/api/game/index.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{"title": "Turing's Tarpit", "url": "/game/1/turings-tarpit/"},
|
||||
{"title": "Roguish", "url": "/game/1/turings-tarpit/"},
|
||||
{"title": "Raycaster", "url": "/game/1/turings-tarpit/"},
|
||||
{"title": "Clicker Loves You", "url": "/game/1/turings-tarpit/"}
|
||||
]
|
18
public/api/live/index.json
Normal file
18
public/api/live/index.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"title": "Stream #34: C++ Game Dev|Retro Raycaster|No Brainrot Stream",
|
||||
"description": "Some kind of stream.",
|
||||
"links": [
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,7 +1,22 @@
|
|||
[
|
||||
{
|
||||
"title": "Sample Stream",
|
||||
"streamed_on": "10/10/2025",
|
||||
"description": "Some kind of stream."
|
||||
}
|
||||
]
|
||||
{
|
||||
"title": "Stream #34: C++ Game Dev|Retro Raycaster|No Brainrot Stream",
|
||||
"streamed_on": "10/10/2025",
|
||||
"description": "Some kind of stream.",
|
||||
"links": [
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
},
|
||||
{"description": "A funky website",
|
||||
"url": "https://test.com"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,4 +1,44 @@
|
|||
[
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
},
|
||||
{ "date": "12/10/2025",
|
||||
"description": "A great stream.",
|
||||
"url": "/stream/1/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue