op-be-graphql
The GraphQL Services for the Backend Layer of OctopOSPrime ( Edited )
Pre-Requirements
Graphql
export PATH="$PATH:$(go env GOPATH)/bin"
go get github.com/99designs/gqlgen
make gql-generate
Development Environment
You have to see before development.
.env
POSTGRES_USERNAME=op
POSTGRES_PASSWORD=op
JWT_SECRET_KEY=op
REDIS_PASSWORD=op
Local Run
make local-run
Docker Run
TEST=true POSTGRES_USERNAME=op POSTGRES_PASSWORD=op JWT_SECRET_KEY=op REDIS_PASSWORD=op make docker-build
make docker-run