From 227865fad26c1873edee74686fe40ff9f4874a9b Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 3 Jan 2020 17:47:42 +0000 Subject: [PATCH 1/3] groupie-trackers subject --- .../groupie-trackers/groupie-trackers.en.md | 99 ++++++++++++++++++- 1 file changed, 94 insertions(+), 5 deletions(-) diff --git a/subjects/groupie-trackers/groupie-trackers.en.md b/subjects/groupie-trackers/groupie-trackers.en.md index 69006d5e4..643b3ab8d 100644 --- a/subjects/groupie-trackers/groupie-trackers.en.md +++ b/subjects/groupie-trackers/groupie-trackers.en.md @@ -4,22 +4,111 @@ Groupie Trackers consists on receiving a given API and manipulate the data contained in it, in order to create a site. -- It will ge given an [API](link_to_api), that consists in four parts: - - The first one, `artists`, contains some information about some bands and artists like their name(s), an image, in which year they began their activity and the date of their first album. +- It will be given an [API](http://api_name.org/api), that consists in four parts: + - The first one, `artists`, containing information about some bands and artists like their name(s), image, in which year they began their activity and the date of their first album. + + ```json + { + "id": 1, + "image": "http://localhost:8080/api/images/queen.jpeg", + "name": "Queen", + "members": [ + "Freddie Mercury", + "Brian May", + "John Daecon", + "Roger Meddows-Taylor", + "Mike Grose", + "Barry Mitchell", + "Doug Fogie" + ], + "creationDate": 1970, + "firstAlbum": "13-07-1973", + "locations": "http://localhost:8080/api/locations/1", + "consertDates": "http://localhost:8080/api/dates/1", + "relations": "http://localhost:8080/api/relation/1" + } + ``` + - The second one, `locations`, consists in their last and/or upcoming concert locations. + + ```json + { + "id": 1, + "locations": [ + "north_carolina-usa", + "georgia-usa", + "los_angeles-usa", + "saitama-japan", + "osaka-japan", + "nagoya-japan", + "penrose-new_zealand", + "dunedin-new_zealand" + ] + } + ``` + - The third one, `dates`, consists in their last and/or upcoming concert dates. + + ```json + { + "id": 1, + "dates": [ + "*23-08-2019", + "*22-08-2019", + "*20-08-2019", + "*26-01-2020", + "*28-01-2020", + "*30-01-2019", + "*07-02-2020", + "*10-02-2020" + ] + } + ``` + - And the last one, `relations`, does the link between all the other parts, `artists`, `dates` and `locations`. + ```json + { + "id": 1, + "datesLocations": { + "dunedin-new_zealand": [ + "10-02-2020" + ], + "georgia-usa": [ + "22-08-2019" + ], + "los_angeles-usa": [ + "20-08-2019" + ], + "nagoya-japan": [ + "30-01-2019" + ], + "north_carolina-usa": [ + "23-08-2019" + ], + "osaka-japan": [ + "28-01-2020" + ], + "penrose-new_zealand": [ + "07-02-2020" + ], + "saitama-japan": [ + "26-01-2020" + ] + } + } + ``` + - This project also focuses on the creation of events and on their visualization. -- An event-driven system consists in a system that responds to some kind of action triggered by the client, time, or any other factor. -- You can learn more about events [here](https://medium.com/omarelgabrys-blog/event-driven-systems-cdbe5a4b3d04). + - An event-driven system consists in a system that responds to some kind of action triggered by the client, time, or any other factor. This project will help you learn about : - Manipulation and storage of data. - HTML. - Event creation and display. -- JSON files. + - [Event-driven system](https://medium.com/omarelgabrys-blog/event-driven-systems-cdbe5a4b3d04). +- JSON files and format. ### Instructions From 6b7c8c6a418ef5a2f77b7e630c0d5a4d9e9f93ba Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 3 Jan 2020 17:55:00 +0000 Subject: [PATCH 2/3] replacing localhost --- subjects/groupie-trackers/groupie-trackers.en.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subjects/groupie-trackers/groupie-trackers.en.md b/subjects/groupie-trackers/groupie-trackers.en.md index 643b3ab8d..c3306a979 100644 --- a/subjects/groupie-trackers/groupie-trackers.en.md +++ b/subjects/groupie-trackers/groupie-trackers.en.md @@ -4,13 +4,13 @@ Groupie Trackers consists on receiving a given API and manipulate the data contained in it, in order to create a site. -- It will be given an [API](http://api_name.org/api), that consists in four parts: +- It will be given an [API](http://groupietrackers.org/api), that consists in four parts: - The first one, `artists`, containing information about some bands and artists like their name(s), image, in which year they began their activity and the date of their first album. ```json { "id": 1, - "image": "http://localhost:8080/api/images/queen.jpeg", + "image": "http://groupietrackers/api/images/queen.jpeg", "name": "Queen", "members": [ "Freddie Mercury", @@ -23,9 +23,9 @@ Groupie Trackers consists on receiving a given API and manipulate the data conta ], "creationDate": 1970, "firstAlbum": "13-07-1973", - "locations": "http://localhost:8080/api/locations/1", - "consertDates": "http://localhost:8080/api/dates/1", - "relations": "http://localhost:8080/api/relation/1" + "locations": "http://groupietrackers/api/locations/1", + "consertDates": "http://groupietrackers/api/dates/1", + "relations": "http://groupietrackers/api/relation/1" } ``` From 974d2668a55d8163fa939c70cda830ef1e1411b7 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 3 Jan 2020 21:38:30 +0000 Subject: [PATCH 3/3] removel of json examples --- .../groupie-trackers/groupie-trackers.en.md | 86 ------------------- 1 file changed, 86 deletions(-) diff --git a/subjects/groupie-trackers/groupie-trackers.en.md b/subjects/groupie-trackers/groupie-trackers.en.md index c3306a979..87714db9c 100644 --- a/subjects/groupie-trackers/groupie-trackers.en.md +++ b/subjects/groupie-trackers/groupie-trackers.en.md @@ -7,98 +7,12 @@ Groupie Trackers consists on receiving a given API and manipulate the data conta - It will be given an [API](http://groupietrackers.org/api), that consists in four parts: - The first one, `artists`, containing information about some bands and artists like their name(s), image, in which year they began their activity and the date of their first album. - ```json - { - "id": 1, - "image": "http://groupietrackers/api/images/queen.jpeg", - "name": "Queen", - "members": [ - "Freddie Mercury", - "Brian May", - "John Daecon", - "Roger Meddows-Taylor", - "Mike Grose", - "Barry Mitchell", - "Doug Fogie" - ], - "creationDate": 1970, - "firstAlbum": "13-07-1973", - "locations": "http://groupietrackers/api/locations/1", - "consertDates": "http://groupietrackers/api/dates/1", - "relations": "http://groupietrackers/api/relation/1" - } - ``` - - The second one, `locations`, consists in their last and/or upcoming concert locations. - ```json - { - "id": 1, - "locations": [ - "north_carolina-usa", - "georgia-usa", - "los_angeles-usa", - "saitama-japan", - "osaka-japan", - "nagoya-japan", - "penrose-new_zealand", - "dunedin-new_zealand" - ] - } - ``` - - The third one, `dates`, consists in their last and/or upcoming concert dates. - ```json - { - "id": 1, - "dates": [ - "*23-08-2019", - "*22-08-2019", - "*20-08-2019", - "*26-01-2020", - "*28-01-2020", - "*30-01-2019", - "*07-02-2020", - "*10-02-2020" - ] - } - ``` - - And the last one, `relations`, does the link between all the other parts, `artists`, `dates` and `locations`. - ```json - { - "id": 1, - "datesLocations": { - "dunedin-new_zealand": [ - "10-02-2020" - ], - "georgia-usa": [ - "22-08-2019" - ], - "los_angeles-usa": [ - "20-08-2019" - ], - "nagoya-japan": [ - "30-01-2019" - ], - "north_carolina-usa": [ - "23-08-2019" - ], - "osaka-japan": [ - "28-01-2020" - ], - "penrose-new_zealand": [ - "07-02-2020" - ], - "saitama-japan": [ - "26-01-2020" - ] - } - } - ``` - - This project also focuses on the creation of events and on their visualization. - An event-driven system consists in a system that responds to some kind of action triggered by the client, time, or any other factor.