Nomi / CountryBuddy

A full-stack application to find out about countries (and continents?). Uses .NET Core for the backend and React for the frontend.
0 stars 0 forks source link

Partial non-compliance with assignment. #23

Open Nomi opened 1 year ago

Nomi commented 1 year ago

I ended up missing the part about the using RestCountries and ended up only using GraphQL API. This mistake was made by me because I have been sick for the whole weekend and I didn't notice it due to not having a lot of mental energy.

Based on the specified number, pick the inserted amount of random countries from the graphql API response. These countries should be used to call the REST API, where you can gather more details about the selected countries. To pull the information, use https://restcountries.com/v3.1/name/{countryname} The “RestCountries” API provides access to information about the country, namely its capital, region, languages, official currencies, etc. For each country pulled from the above API, get its official name, capital, population, currency, subregion and languages. Present the random country and the found information together (in case of no information found for a particular random country present a message - “No information found!” ) - so they are easy to read to the user.

One example of the effect of missing this is that the "No information found!" message is shown for fields that are returned as empty or NULL from the backend.

Nomi commented 1 year ago

Unfortunately, can't fix due to it not having enough time (deadline approaching soon).

I regret it, but I'm quite proud of the backend I made for the application, and I hope its quality helps make up for this mistake.