Change to the geo-locator-backend directory:
$ npm install
- Create a file called
.env
in the root directorygeo-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.
In your project directory, run:
$ npm start
This will start the service.