Açıklama Yok

Thiranon Wiriyanurakkul 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
..
.gitignore 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
README.md 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
api.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
auth.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
config.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
gen-keys.sh 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
main.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
middleware.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
models.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
oauth.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
oauth2.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce
utils.go 86d81d25b9 แก้หน้า index_page.html และ menu.html 8 yıl önce

README.md

Go Server Example

Installation

You need to clone satellizer's repo by running:

$ git clone https://github.com/sahat/satellizer

Next, cd into the go server example:

$ cd examples/server/go

Then you need to generate rsa keys to be able to use JWT:

$ ./gen-keys.sh

Get dependencies

$ go get ./...

Usage

You need an instance of MongoDB running on your local machine. By default, its address is "localhost".

If you are inside $GOPATH:

$ go run main.go

If you are outside of $GOPATH (git clone somewhere):

$ go build && ./go

Access satellizer's interface, at localhost:3000