arnaucube
arnaucube/decentralized-blogging-platformPublic Self-hosted repository
decentralized-blogging-platform/webapp/fake_data.js
webapp/fake_data.jsRaw
 1var user = {
 2  username: "mark_zuckerberg",
 3  name: "Mark",
 4  lastname: "Zuckerberg",
 5  description: "Hi all, I'm here to write decentralized blog posts.",
 6  twitter: "arnaucode",
 7  github: "arnaucode",
 8  posts: [{
 9      title: "This is the second post",
10      subtitle: "this is the subtitle of the second post",
11      img: "https://cdn-images-1.medium.com/fit/t/800/240/1*4_E6m7J0112DBi1Lmdniiw.png",
12      content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
13      user: {
14        id: "5a732c952f009b384d5effb7"
15      }
16    },
17    {
18      title: "This is the first post",
19      subtitle: "this is the subtitle of the first post",
20      img: "https://bootstrap-themes.github.io/application/assets/img/unsplash_1.jpg",
21      content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
22      user: {
23        id: "5a732c952f009b384d5effb7"
24      }
25    },
26    {
27        title: "Thinking about python development",
28        subtitle: "this is the subtitle of the second post",
29        img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
30        content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
31        user: {
32          id: "5a732c952f009b384d5effb7"
33        }
34      },
35      {
36        title: "Thinking about G",
37        subtitle: "this is the subtitle of the first post",
38        img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
39        content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
40        user: {
41          id: "5a732c952f009b384d5effb7"
42        }
43      }
44  ]
45};
46var featured_posts = [{
47    title: "Thinking about python development",
48    subtitle: "this is the subtitle of the second post",
49    img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
50    content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
51    user: {
52      id: "5a732c952f009b384d5effb7"
53    }
54  },
55  {
56    title: "Thinking about G",
57    subtitle: "this is the subtitle of the first post",
58    img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
59    content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
60    user: {
61      id: "5a732c952f009b384d5effb7"
62    }
63  }
64];
65
66var posts = [{
67    title: "This is the second post",
68    subtitle: "this is the subtitle of the second post",
69    img: "https://cdn-images-1.medium.com/fit/t/800/240/1*4_E6m7J0112DBi1Lmdniiw.png",
70    content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
71    user: {
72      id: "5a732c952f009b384d5effb7"
73    }
74  },
75  {
76    title: "This is the first post",
77    subtitle: "this is the subtitle of the first post",
78    img: "https://bootstrap-themes.github.io/application/assets/img/unsplash_1.jpg",
79    content: "Some quick example text to build on the card title and make up the bulk of the card's content.",
80    user: {
81      id: "5a732c952f009b384d5effb7"
82    }
83  },
84  {
85    title: "Thinking about python development",
86    subtitle: "this is the subtitle of the second post",
87    img: "https://cdn.static-economist.com/sites/default/files/images/2015/09/blogs/economist-explains/code2.png",
88    content: "Some quick example text to build on the card title and make up the bulk of the card's content."
89  },
90  {
91    title: "Thinking about G",
92    subtitle: "this is the subtitle of the first post",
93    img: "https://cdn-images-1.medium.com/max/1600/1*RNkyx-Zq7w61eR74nMYgnA.jpeg",
94    content: "Some quick example text to build on the card title and make up the bulk of the card's content."
95  }
96];