Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ali2210/fictional-engine
Grpc web example
https://github.com/ali2210/fictional-engine
Last synced: 9 days ago
JSON representation
Grpc web example
- Host: GitHub
- URL: https://github.com/ali2210/fictional-engine
- Owner: ali2210
- Created: 2022-04-13T14:44:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T23:19:45.000Z (over 1 year ago)
- Last Synced: 2024-06-22T03:23:03.182Z (5 months ago)
- Language: Go
- Size: 21.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fictional-engine
Let build Task manager with grpc; GRPC support http2.0 and microservices. Another advantage grpc support many languages
[Golang]
[Export Path]
$ export GOROOT=/usr/local/go
$ export GOPATH=$HOME/go
$ export GOBIN=$GOPATH/bin
$ export PATH=$PATH:$GOROOT:$GOPATH:$GOBIN
[Protoc command]protoc --go_out=paths=source_relative:. proto_file_path.proto
[Route]
/ (get, post) add task
/delete (post) delete task[Run]
[Docker]
[Redis]Open new terminal
$ docker run --rm --name redis-test-instance -p 6379:6379 redis
[Fictional-Engine Client]Fictional-Engine-client execute grpc client which provide add & delete task route
Open new terminal
$ docker pull ali2210/fictional-engine:latest
$ docker run --rm -p 3000:3000 --net=host -it ali2210/fictional-engine