From 06fbc23a70982f4e6ab66ed34daee058fea91124 Mon Sep 17 00:00:00 2001 From: OGordoo Date: Fri, 3 Jan 2020 14:17:07 +0000 Subject: [PATCH 1/5] readMe Groupie Trackers --- .../groupie-trackers/groupie-trackers.en.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 subjects/groupie-trackers/groupie-trackers.en.md diff --git a/subjects/groupie-trackers/groupie-trackers.en.md b/subjects/groupie-trackers/groupie-trackers.en.md new file mode 100644 index 000000000..69006d5e4 --- /dev/null +++ b/subjects/groupie-trackers/groupie-trackers.en.md @@ -0,0 +1,28 @@ +## groupietrackers + +### Objectives + +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. + - The second one, `locations`, consists in their last and/or upcoming concert locations. + - The third one, `dates`, consists in their last and/or upcoming concert dates. + - And the last one, `relations`, does the link between all the other parts, `artists`, `dates` and `locations`. + +- 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). + +This project will help you learn about : + +- Manipulation and storage of data. +- HTML. +- Event creation and display. +- JSON files. + +### Instructions + +- The backend must be written in **Go**. +- The code must respect the [**good practices**](https://github.com/01-edu/public/blob/master/subjects/good-practices.en.md). +- It is recommended that the code should present a **test file**. From 227865fad26c1873edee74686fe40ff9f4874a9b Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 3 Jan 2020 17:47:42 +0000 Subject: [PATCH 2/5] 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 3/5] 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 4/5] 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. From ec31b656caa0cc50dd872ea8db66a61de40d7b13 Mon Sep 17 00:00:00 2001 From: OGordoo Date: Tue, 7 Jan 2020 10:08:33 +0000 Subject: [PATCH 5/5] mandatory fix --- subjects/groupie-trackers/groupie-trackers.en.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/subjects/groupie-trackers/groupie-trackers.en.md b/subjects/groupie-trackers/groupie-trackers.en.md index 69006d5e4..2170a0424 100644 --- a/subjects/groupie-trackers/groupie-trackers.en.md +++ b/subjects/groupie-trackers/groupie-trackers.en.md @@ -2,13 +2,14 @@ ### Objectives -Groupie Trackers consists on receiving a given API and manipulate the data contained in it, in order to create a site. +Groupie Trackers consists on receiving a given API and manipulate the data contained in it, in order to create a site, displaying all or part of the information. -- It will ge given an [API](link_to_api), that consists in four parts: +- It will ge given an [API](link_to_api), that consists of 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. - The second one, `locations`, consists in their last and/or upcoming concert locations. - The third one, `dates`, consists in their last and/or upcoming concert dates. - And the last one, `relations`, does the link between all the other parts, `artists`, `dates` and `locations`. +- All data given in the API should be used. - 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.