Skip to content

Project to load location information, states and cities from countries.

License

Notifications You must be signed in to change notification settings

KaueReinbold/location-search

Repository files navigation

Location Search

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.


Supported Countries

Country States Cities
Brazil Yes Yes

List of States

Use the endpoint api/states/{country_name}

Replace country_name to the value under the supported countries list.

List of Cities

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.


Getting Started

Running with Docker

  1. Get Docker installed on you machine.

  2. Execute the following command:

    docker-compose up -d

Running locally

  1. Install Node.Js, only Node.js 10 and later versions are supported.

  2. Install Core Tools

    npm install -g azure-functions-core-tools@3
  3. On the root path execute:

    func start

Authors

  • Kaue Reinbold - Initial work - GitHub

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Project to load location information, states and cities from countries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published