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

mohammadne/bookman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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