Demonstrates some common GeoDB use-cases inside an Angular app, including autocompletion.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
e2e Updated for angular/cli 6 and rxjs 6. May 18, 2018
src Updated for angular/cli 6 and rxjs 6. May 18, 2018
.gitignore Created running skeleton. Aug 30, 2017
LICENSE
README.md Updated app name to match Readme. Jun 10, 2018
angular.json Updated for angular/cli 6 and rxjs 6. May 18, 2018
config-env.js Replaced GeoClientModule references to environment with GeoClientConfig. Sep 20, 2017
package.json Updated app name to match Readme. Jun 10, 2018
tsconfig.json Updated for angular/cli 6 and rxjs 6. May 18, 2018
tslint.json

README.md

GeoDB Sample Angular App

This app shows how much I enjoy eating my own geo dog food. Also, how you might go about implementing some typical use-cases using the GeoDB API.

Find Cities

Prerequisites

  1. Install Node.js.
  2. Install angular-cli.
  3. npm install -g yargs@latest

Install

  1. git clone https://github.com/wirefreethought/geo-db-sample-angular-app.git
  2. npm install
  3. Create a file called .env.json at the project root.
  4. Open .env.json for editing and paste in the following:
{
  "service": {
    "apiKey": "",
    "uri": "http://geodb-free-service.wirefreethought.com"    
  }
}

Run

  1. npm start
  2. Open your browser to: http://localhost:4200