Skip to content

AndersonHqds/grpc-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-gRPC

gRPC Demonstration

This project is for practice and study the grpc and protocol buffer technologies.

Requirements

How to start

  1. Firstly, you need to install the dependencies
$ go mod tidy
  1. So, you must create the database
$ sqlite3
$ create table categories(id string, name string, description string);
  1. After that, you need to run the application
$ go run cmd/grpc-server/main.go
  1. Now we have the server up and we can to execute the evans, evans is a gRpc client
$ evans -r repl
$ package pb
$ service CategoryService
// Now you can call what service you want (You can check out the options in proto/course_category.proto)
$ call CreateCategory  // It will prompt you some questions

About

A simple grpc service for study purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages