Skip to content

rendyfebry/go-graphql-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL & gRPC Implementation on Golang

Run The Project

Read each service documentation to run the service manually

Run The Project Using Docker Compose

Run all containers using docker-compose

docker-compose up --build

Usage

Get All Product

GraphQL

query {
    products{
        id
        name
        price
    }
}

CURL

curl -L -X POST 'http://localhost:8080/query' \
-H 'Content-Type: application/json' \
--data-raw '{"query":"query {\n    products{\n        id\n        name\n        price\n    }\n}","variables":{}}'