Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/delusionaloptimist/distance-api

A minimalistic web app that gets you the route and distance between two places
https://github.com/delusionaloptimist/distance-api

go google-maps google-maps-api

Last synced: about 1 month ago
JSON representation

A minimalistic web app that gets you the route and distance between two places

Awesome Lists containing this project

README

        

# Distance API
A minimalistic app using Google Maps' APIs to get the distance and plot a route between two addresses.
![demo image](./image.png)

## Try it out
### Live
Checkout the live version at: https://distance-api.delusionaloptim.repl.co

### Docker
```
docker run -p 8080:8080 delusionaloptimist/distance-api:latest
```

### Build and run locally
```
make run
```

## Google Maps APIs used
* [Distance Matrix API](https://developers.google.com/maps/documentation/distance-matrix/overview) - for calculating distance
* [Places API](https://developers.google.com/maps/documentation/places/web-service/overview) - for autocomplete
* [JavaScript API](https://developers.google.com/maps/documentation/javascript/overview) - for rendering and showing route on map

## Stack
* Go
* JS
* HTML
* CSS