Easily calculate the distance and time between two locations.
1- address Method
2- lat lon Method
You'll need Node.js installed on your computer in order to build this app.
git clone https://github.com/lucioerlan/Distance-Between.git
$ cd Distance-Between
$ npm install
- Access swagger http://localhost:5000/api/docs 🥇
- $ npm test
$ curl -X GET 'http://localhost:5000/api/search/geo?OriginOne=city=Bujari&OriginTwo=state=AC&DestOne=city=Manaus&DestTwo=state=AM&method=search'
OR
$ curl -X GET 'http://localhost:5000/api/search/reverse?OriginOne=lat=-9.8309656&OriginTwo=lon=-67.9520886&DestOne=lat=-3.1316333&DestTwo=lon=-59.9825041&method=reverse'
$ npm start
$ docker-compose up -d
This project lives under MIT License. See LICENSE for more details. © - Erlan Lucio