Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 779 Bytes

File metadata and controls

41 lines (29 loc) · 779 Bytes

Geo Locator Backend Service

Running Locally

Change to the geo-locator-backend directory:

Install requirements

$ npm install

Setting up configuration

  • Create a file called .env in the root directory geo-locator-backend.
  • Copy and paste the contents of this file .env.sample looks like:
PORT = <Enter Port Number>
KAFKA_HOST = <Enter kafka Host>
KAFKA_BROKER_PORT = <Enter kafka Port Number>
MAPQUEST_API_KEY = <Enter Mapquest API Key>
GEOCODING_PROVIDER = "mapquest"
  • Populate the .env file with your
    • Port number.
    • Kafka Host.
    • Kafka Port Number.
    • Personal Mapquest API key.

Running your service

In your project directory, run:

$ npm start

This will start the service.