Web novel tracker API server
Go Shell HTML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
db
feed
notification
novel
public
token
web
.gitignore
LICENSE
Procfile
README.md
main.go
startup.sh

README.md

Web novels tracker API

Getting started

Fetch the projet and install the dependencies:

go get github.com/l-lin/wn-tracker-api
go get github.com/tools/godep
cd $GOPATH/github/l-lin/wn-tracker-api
godep go install

You need to set the following environment variables in the startup.sh:

Variable name Description Example
PORT Server port 4747
GOOGLE_CLIENT_ID The client ID of your google API xxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET The client secret of your Google API ABCDEFGHIJKLMOPQRSTUVWXYZ
GOOGLE_REDIRECT_URL The redirect URL after being connected http://localhost:3000/oauth2callback

Those variables are available in your Google developer console.

After the configuration, you just need to execute startup.sh and access to http://localhost:3000/