https://github.com/mainageorge/codingdojo
This is a project create an application that receives a three-letter code for a North American Country and returns a list of all countries a driver must travel through to go from the United State of America to the destination
https://github.com/mainageorge/codingdojo
api csharp dependency-injection entity-framework-core netcore unit-testing xunit
Last synced: 11 months ago
JSON representation
This is a project create an application that receives a three-letter code for a North American Country and returns a list of all countries a driver must travel through to go from the United State of America to the destination
- Host: GitHub
- URL: https://github.com/mainageorge/codingdojo
- Owner: MainaGeorge
- Created: 2022-04-18T17:00:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T17:26:38.000Z (about 4 years ago)
- Last Synced: 2025-02-07T20:41:58.537Z (over 1 year ago)
- Topics: api, csharp, dependency-injection, entity-framework-core, netcore, unit-testing, xunit
- Language: C#
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodingDojo
This is a project create an application that receives a three-letter code for a North American Country and returns a list of
all countries a driver must travel through to go from the United State of America to the destination
The following assumptions were made when creating the app, using the following image:

the countries with their three letter codes are:

- The order in which the countries are saved to the database is the **same order** as they appear on the map from top to bottom
- The geography of the countries, i.e the map data is **not subject to change,** hence no need for any CRUD operations on the data
- Each country can have **ONLY ONE top neighbour**(neighbour to the north) through which one can travel to or from that country
- A country can be a **top neighbour to MORE THAN ONE other country** e.g from the image above, Mexico is the top neighbour to both Belize and Guatemala
- The path to countries that are adjacent to each other is not possible e.g it is not possible to go from Belize to Guatemala. In a future edition it will be implemented.