https://github.com/talento90/grpc-calculator
:heavy_multiplication_x::heavy_plus_sign::heavy_minus_sign: :heavy_division_sign: GRPC calculator service using GO and node.js with TypeScript
https://github.com/talento90/grpc-calculator
Last synced: about 1 year ago
JSON representation
:heavy_multiplication_x::heavy_plus_sign::heavy_minus_sign: :heavy_division_sign: GRPC calculator service using GO and node.js with TypeScript
- Host: GitHub
- URL: https://github.com/talento90/grpc-calculator
- Owner: Talento90
- License: mit
- Created: 2018-10-15T15:09:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T13:42:16.000Z (over 7 years ago)
- Last Synced: 2025-03-28T20:06:05.087Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpc-calculator
:heavy_multiplication_x: :heavy_plus_sign: :heavy_minus_sign: :heavy_division_sign: GRPC calculator service using GO and node.js with TypeScript.
## Prerequisite
- GO 1.11 with modules (https://github.com/golang/go/wiki/Modules)
- NodeJS 8.x
- Install Protocol Buffers - http://google.github.io/proto-lens/installing-protoc.html
## Build
### Server (NodeJS + TypeScript)
- `npm install` - Install dependencies
- `npm run build:proto` - Generate JS+TS files from protofiles
- `npm run build` - Compile TS files
- `npm start` - Server running on port 5000
- `npm run client` - Run NodeJS Client
### Client (GO)
- `make build-proto` - Generate GO code from protofiles
- `make start` - Run GO Client