summaryrefslogtreecommitdiff
path: root/README.markdown
blob: c698dd5ed900dc51ee63c1de2400246d096e4473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Usage

To run the server on port 8080:

```sh
go build .
./zipserver
```

To get zipcode info using `curl` and [`jq`](https://stedolan.github.io/jq/):

```sh
curl --silent http://localhost:8080/zip/18101 | jq '.'
```

# Data

This project uses public-domain zipcode data from the [Zip Code Database Project](http://zips.sourceforge.net).