issho

module
v0.0.0-...-5bbb7b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: AGPL-3.0

README

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 © 2019 Jesse B. Hannah. Licensed under the GNU AGPL version 3 or later.

Directories

Path Synopsis
api
mock/kazoku
Package mock_kazoku is a generated GoMock package.
Package mock_kazoku is a generated GoMock package.
cmd
internal
mock/pkg/grpc
Package mock_grpc is a generated GoMock package.
Package mock_grpc is a generated GoMock package.
mock/pkg/mongo
Package mock_mongo is a generated GoMock package.
Package mock_mongo is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL