Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

l-lin/mr-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manga reader tracker API

Getting started

Fetch the projet and install the dependencies:

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

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

Variable name Description Example
PORT Server port 3000
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
DATABASE_URL The Database URL postgres://postgres@localhost:5432/mr?sslmode=disable

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/

Notes

This project use the MangaFeeder project to fetch the news.

Releases

No releases published

Packages

No packages published