Now have a basic alpine.js page going and it's talking to the server to get json in a fake API.
This commit is contained in:
parent
9ed5c05cdf
commit
f49608d74c
6 changed files with 63 additions and 37 deletions
7
public/api/stream/1/index.json
Normal file
7
public/api/stream/1/index.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
[
|
||||
{
|
||||
"title": "Sample Stream",
|
||||
"streamed_on": "10/10/2025",
|
||||
"description": "Some kind of stream."
|
||||
}
|
||||
]
|
18
public/api/stream/index.json
Normal file
18
public/api/stream/index.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{ "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