summaryrefslogtreecommitdiffstats
path: root/db.json
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 16:39:54 +0200
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 16:39:54 +0200
commit69d48eb332ac53104cf57b408059a103151071fb (patch)
treea24b0ccbf03a31762e00b4adf5d9131cff7cc534 /db.json
parente329e6f3afeca8657ac8dbc8fb7f48a6f19d9522 (diff)
Add images to posts
Diffstat (limited to 'db.json')
-rw-r--r--db.json36
1 files changed, 25 insertions, 11 deletions
diff --git a/db.json b/db.json
index de541f8..fb6383c 100644
--- a/db.json
+++ b/db.json
@@ -1,13 +1,27 @@
{
- "posts": [{
- "content": "testi",
- "createdAt": 1636028524,
- "likes": 0,
- "userPictureUrl": "https://lh3.googleusercontent.com/a-/AOh14Ggi0fsy3DrKGf2CswW96pft9BO3tDskxr0241FmxQ=s96-c",
- "author": {
- "id": "jans.tuomi@gmail.com",
- "name": "Jan Tuomi"
- },
- "id": "1"
- }]
+ "posts": [
+ {
+ "content": "testi",
+ "createdAt": 1636028524,
+ "likes": 1,
+ "userPictureUrl": "https://lh3.googleusercontent.com/a-/AOh14Ggi0fsy3DrKGf2CswW96pft9BO3tDskxr0241FmxQ=s96-c",
+ "author": {
+ "id": "jans.tuomi@gmail.com",
+ "name": "Jan Tuomi"
+ },
+ "id": "1"
+ },
+ {
+ "content": "funni cat image hehe",
+ "createdAt": 1636036093,
+ "likes": 9,
+ "userPictureUrl": "https://lh3.googleusercontent.com/a-/AOh14Ggi0fsy3DrKGf2CswW96pft9BO3tDskxr0241FmxQ=s96-c",
+ "imageUrl": "https://i.pinimg.com/originals/8c/ab/4e/8cab4e46f19b1c4ae0ed8ff6c5115e7d.jpg",
+ "author": {
+ "id": "jans.tuomi@gmail.com",
+ "name": "Jan Tuomi"
+ },
+ "id": "Rq-vXQX"
+ }
+ ]
} \ No newline at end of file