Skip to content

Commit

Permalink
Merge branch 'data-model-#3' of https://github.com/oSoc17/prisma-fron…
Browse files Browse the repository at this point in the history
…tend into data-model-#3
  • Loading branch information
th0rgall committed Jul 10, 2017
2 parents 330cfd4 + 0bf2881 commit 9e8fb6d
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ platforms/
plugins/
plugins/android.json
plugins/ios.json
www/
www/*
!www/mock-api
$RECYCLE.BIN/

.DS_Store
Expand Down
142 changes: 142 additions & 0 deletions www/mock-api/stories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
[
{
"id": "1",
"type": "2",
"source": "cHTUaigQQ2iFLSLC34OP_stadhuishalle.jpg",
"title": "Mjin school",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "1",
"originId": ""
},
{
"id": "2",
"type": "2",
"source": "peROWMdTyapL2RcptjpQ_hallerbos.jpg",
"title": "Goed vibe",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "1",
"originId": ""
},
{
"id": "3",
"type": "2",
"source": "LVZpafa9RpCyPNPLYuSn_sabena-security.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "1",
"originId": ""
},
{
"id": "4",
"type": "2",
"source": "CBd1zASpTOmZptix3fng_family1.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "2",
"originId": ""
},
{
"id": "5",
"type": "2",
"source": "TVRkzCgS7iNdKgM7PSwg_baby.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "2",
"originId": ""
},
{
"id": "6",
"type": "2",
"source": "WE6rB9dZRTiIWQlP5qsA_kitten3.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "2",
"originId": ""
},
{
"id": "7",
"type": "2",
"source": "ARSdfjpfSAWvY2J9VpZe_moskow.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "3",
"originId": ""
},
{
"id": "8",
"type": "2",
"source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "3",
"originId": ""
},
{
"id": "9",
"type": "2",
"source": "rJwCxPlrTsCi8xbyzE8m_tasselplay.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "4",
"originId": ""
},
{
"id": "10",
"type": "2",
"source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg",
"title": "",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"likes": [],
"comments": [],
"categories": [],
"albumId": "4",
"originId": ""
}
]
Empty file added www/mock-api/users.json
Empty file.
15 changes: 15 additions & 0 deletions www/mock-api/users_id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "12345",
"firstName": "Marie-Josée",
"lastName": "Mertens",
"dateOfBirth": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
"birthLocation": "Steenokkerzeel",
"profilePicture": "WE6rB9dZRTiIWQlP5qsA_kitten3.jpg",
"email": "marie@mail.com",
"password": "geheim",
"relations": [
{
"type": "grandson",
"userId": "12121"
}]
}

0 comments on commit 9e8fb6d

Please sign in to comment.