package
0.0.0-20161020022402-ae2863338ab7
Repository: https://github.com/sahat/ngauth.git
Documentation: pkg.go.dev

# README

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