Skip to content

victorbrugnolo/golang-clean-arch-challenge

Repository files navigation

GOLANG CLEAN ARCH CHALLENGE

Implement list orders by REST, GRPC and GRAPHQL

Running the project

docker-compose up -d

migrate -path=internal/infra/database/migrations  -database "mysql://root:root@tcp(localhost:3306)/orders" -verbose up

go mod tidy

cd cmd/ordersystem

go run main.go wire_gen.go  

To execute challenge requisites

REST

The api rest run on port :8000

GRPC

The grpc server run on port :50051

evans -r repl

call ListOrders

GRAPHQL

The graphql server run on port :8080

query listOrders {
  orders {
    id
    Price
    Tax
    FinalPrice
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages