Azure Function to search information from a Country. The Function will call an endpoint that provides an updated source of information.
The technical objective is to study Azure Functions with .Net Core.
Country | States | Cities |
---|---|---|
Brazil | Yes | Yes |
Use the endpoint api/states/{country_name}
Replace
country_name
to the value under the supported countries list.
Use the endpoint api/{country_name}/{state_initials}/cities
Replace
country_name
to the value under the supported countries list.Replace
state_initials
to the value initials received on states call.
-
Get Docker installed on you machine.
-
Execute the following command:
docker-compose up -d
-
Install Node.Js, only Node.js 10 and later versions are supported.
-
Install Core Tools
npm install -g azure-functions-core-tools@3
-
On the root path execute:
func start
- Kaue Reinbold - Initial work - GitHub
This project is licensed under the MIT License - see the LICENSE.md file for details