This repo contains the source code for the pokemon API gRPC server, found in the Dreams of Code YouTube video
You can deploy this code on acorn.io, for free, by clicking the button below
To run this code, you'll need the following dependencies:
- Go 1.20
- PostgreSQL 16
- Make
To make modifications to this code, make sure you have protobuf tools installed as well.
$ brew install protobuf protoc-gen-go protoc-gen-go-grpc
alternatively you can install the protoc plugins using golang
$ go install google.golang.org/grpc/cmd/[email protected]
$ go install google.golang.org/grpc/cmd/[email protected]
To build this code, run go build .
or make build
.
If you make any modifications to the protobuf, run make generate