Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pleycpl committed Jan 15, 2018
2 parents 114f8e5 + 22f2215 commit 99e4cb0
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# ytuyemekhane-api ![Heroku](https://heroku-badge.herokuapp.com/?app=ytuyemekhane-api)
# ytuyemekhane-api
[![License (GPL version 3)](https://img.shields.io/badge/license-GNU%20GPL%20version%203-red.svg?style=flat-square)](https://www.gnu.org/licenses/gpl-3.0.en.html)
[![Go Report Card](https://goreportcard.com/badge/GnuYtuce/ytuyemekhane-api)](https://goreportcard.com/report/GnuYtuce/ytuyemekhane-api)
[![GoDoc](https://godoc.org/github.com/GnuYtuce/ytuyemekhane-api?status.svg)](https://godoc.org/github.com/GnuYtuce/ytuyemekhane-api/)
![Heroku](https://heroku-badge.herokuapp.com/?app=ytuyemekhane-api)

Web service of "ytu yemekhane" http://www.sks.yildiz.edu.tr/

# API - Routers
Expand All @@ -9,3 +14,17 @@ Web service of "ytu yemekhane" http://www.sks.yildiz.edu.tr/
| GET | /:yil | Belli bir yildaki oglen ve aksam yemegi listesi doner. |
| GET | /:yil/:ay | Belli bir yil ve aydaki oglen ve aksam yemegi listesi doner. |
| GET | /:yil/:ay/:gun | Belli bir tarihteki oglen ve aksam yemegi listesi doner. |

# Localhost Kurulum

```bash
$ go get github.com/GnuYtuce/ytuyemekhane-api
$ cd $HOME/go/src/GnuYtuce/ytuyemekhane-api
(ytuyemekhane-api) $ # Manuel calistirma
(ytuyemekhane-api) $ PORT=8080; go run main.go
...
(ytuyemekhane-api) $ # Docker ile calistirma
(ytuyemekhane-api) $ sudo docker build -t ytuyemekhane-api .
(ytuyemekhane-api) $ sudo docker run -p 8080:8080 ytuyemekhane-api
...
```

0 comments on commit 99e4cb0

Please sign in to comment.