gitometer-golang-react
gitometer-golang-react copied to clipboard
Visualize GitHub repos stats. React frontend and Go backend
Gitometer
What it does
Shows data from GitHub repositories, stored locally in a Postgresql database

How to run
Needs a DB with the schema provided in db.sql
Then needs the following environment vars set:
DBHOST, e.g.localhostDBPORT, e.g 5432DBUSER, the pgsql usernameDBPASS, if empty use""DBNAME, the db nameGITOMETER_GITHUB_ACCESS_TOKEN: a GitHub personal access token
Run
go get github.com/flaviocopes/gitometer...go get github.com/google/go-github/githubgo get github.com/jinzhu/nowgo get golang.org/x/oauth2go get github.com/lib/pq
Then from client/ run yarn and then yarn start (it's a create-react-app app)
From server/ run watcher or run the Go backend in any other way you prefer.
By default it runs the client on port 3000, and the server on port 8000.