Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Latest commit

 

History

History
62 lines (43 loc) · 1.7 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.7 KB

ARCHIVE NOTE

THIS REPOSITORY IS NO LONGER MAINTANED

The new repository can be found at: https://github.com/orgs/CafeKetab/repositories

BOOK MAN

an online REST renting book platform which you can authenticate, order, reserve a book in your account.

it's a microservices project with highly focus on code architecture.

Microservices:

  1. Auth is bookman authentication service

  2. User is a service for user managment

  3. Library is bookman core service, responsible for serving books and authors

GUIDE

install proto-buf tools

# protoc-gen-go
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest 

# protoc-grpc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest 

generate proto-buf files

protoc --proto_path=. --go_out=. service.proto
protoc --proto_path=. --go-grpc_out=. service.proto

# OR

protoc --proto_path=. --go_out=. --go-grpc_out=. service.proto