Skip to content

issho-ni/issho

Repository files navigation

issho-ni

Build Status codecov Go Report Card

Requirements

Development

Setup

export GO111MODULE=on
mkcert localhost 127.0.0.1 ::1

Environment Variables

GRAPHQL_PORT

Port that the GraphQL service listens on (8080 by default).

KAZOKU_PORT

Port that the Kazoku service listens on (8085 by default).

KAZOKU_URL

Address of the Kazoku service (listening at localhost:8085 by default).

MONGODB_URL

Address of the MongoDB instance to use (e.g. mongodb://localhost:27017).

NINKA_JWT_SECRET

base64-encoded secret for JWT HMAC signing (e.g. the output of head -c128 /dev/urandom | base64).

NINKA_PORT

Port that the Ninka service listens on (8084 by default).

NINKA_URL

Address of the Ninka service (listening at localhost:8084 by default).

NINSHOU_PORT

Port that the Ninshou service listens on (8081 by default).

NINSHOU_URL

Address of the Ninshou service (listening at localhost:8081 by default).

SHINNINJOU_PORT

Port that the Shinninjou service listens on (8083 by default).

SHINNINJOU_URL

Address of the Shinninjou service (listening at localhost:8083 by default).

YOUJI_PORT

Port that the Youji service listens on (8082 by default).

YOUJI_URL

Address of the Youji service (listening at localhost:8082 by default).

Running

In separate terminal sessions:

go run ./cmd/graphql
go run ./cmd/kazoku
go run ./cmd/ninka
go run ./cmd/ninshou
go run ./cmd/shinninjou
go run ./cmd/youji

Updating GraphQL or Protocol Buffer Schemas

To regenerate everything:

go generate ./...

Or just the GraphQL or a single protobuf schema:

go generate ./api/graphql

Copyright

Copyright © 2019 Jesse B. Hannah. Licensed under the GNU AGPL version 3 or later.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages