Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
udryan10 committed May 26, 2016
1 parent 54251e4 commit 27f44d3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,28 @@
### Packages
- [Gin](https://github.com/gin-gonic/gin) - HTTP Web Framework
- [Glide](https://github.com/Masterminds/glide) - Vendor package management / version pinning

### Running
#### Clone
`git clone https://github.com/udryan10/go-api-boilerplate.git`
#### Install dependencies
`glide install`
#### Running
`go run main.go`
#### Testing API
```
$ curl http://localhost:8080/status -v
* Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> GET /status HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< Date: Thu, 26 May 2016 02:45:13 GMT
< Content-Length: 3
<
{}
* Connection #0 to host localhost left intact```

0 comments on commit 27f44d3

Please sign in to comment.