Simple API to a small database containing information about farmer markets location in the US
- clone this repository.
- CD into the folder where you cloned the repo.
- type
npm i
to download dependencies.
The current one is http://localhost:4000
REST endpoint |
---|
GET /markets |
Hitting this endpoint will return an array of objects that look like this:
{
"listing_id": "300002",
"update_time": "2020-08-03 13:44:04",
"listing_name": "Colorado Farm and Art Market",
"location_address": "7350 Pine Creek Road, Colorado Springs, Colorado 80919",
"location_x": "-104.81468",
"location_y": "38.9377160"
},
The location_x
& location_y
properties relate to the coordinates