Skip to content

Distributed server for social and realtime games and apps.

License

Notifications You must be signed in to change notification settings

zhangchigl/nakama

Repository files navigation

nakama

Install toolchain:

go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/gobuffalo/packr/...

Build:

protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. ./api/api.proto
 
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:. ./api/api.proto

packr -z

go build -i

./nakama migrate up

./nakama --name=nakama --log.stdout --log.verbose

curl -X POST "http://127.0.0.1:7351/v2/account/authenticate/custom?create=true" -d '{"id":"foo"}' -v

About

Distributed server for social and realtime games and apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.1%
  • TypeScript 10.9%
  • Lua 1.9%
  • TSQL 0.5%
  • Dockerfile 0.2%
  • Shell 0.2%
  • Other 0.2%