Created
July 12, 2018 14:32
-
-
Save FrediBach/ac09a0dc589d5c20570b2c64aa336d59 to your computer and use it in GitHub Desktop.
Revisions
-
FrediBach created this gist
Jul 12, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ module.exports = { users: [ { id: 123, name: "John Doe" }, { id: 456, name: "Jane Doe" } ], posts: [ { id: 1, title: "Lorem Ipsum", content: "Content of post 1 ...", views: 254, user_id: 123, date: '2018-03-23' }, { id: 2, title: "Sic Dolor amet", content: "Content of post 2 ...", views: 65, user_id: 456 } ], comments: [ { id: 987, post_id: 1, user_id: 123, body: "First commment ...", date: '2018-03-24' }, { id: 995, post_id: 1, user_id: 456, body: "Second comment ...", date: '2018-03-25' }, { id: 452, post_id: 1, user_id: 456, comment_id: 987, body: "This is a reply", date: '2018-03-27' } ] };