Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/darvoid/grpc-slotmachine

using gRPC with API gateways and other cool Go packages
https://github.com/darvoid/grpc-slotmachine

api-gateway express gateway go gorilla-mux gorm grpc microservices negroni protocol-buffers sql-server

Last synced: 13 days ago
JSON representation

using gRPC with API gateways and other cool Go packages

Awesome Lists containing this project

README

        

# Slot machine using gRPC services

the aim of this project was to use gRPC to deal with all the logic and having a frontend facing gateway to deal with http requests.

I'll first start by using an express server and then explore other options

# Install node packages

> npm install

# Running the project:
run gRPC server:

windows

> go run .\gameService\gameServiceServer.go

linux

> go run gameService/gameServiceServer.go

## run node gateway server:
windows

> node .\gatewayNodejsServer\server.js

linux

> node gatewayNodejsServer/server.js

OR

## run negroni gateway server:

windows

> go run .\gatewayNegroniGoServer\gateway.go

linux

> go run gatewayNegroniGoServer/gateway.go

OR

## run gorilla gateway server:

windows

> go run .\gatewayGorillaGoServer\gateway.go

linux

> go run gatewayGorillaGoServer/gateway.go

## install godocs so you can read the dank documentation

> go install golang.org/x/tools/cmd/godoc@latest