Skip to content

This project is my first step into gRPC and GO. The project is an API which returns Addition and Multiplication of two numbers and also tells weither a number is prime or not.

amine7777/go-grpc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-grpc-api

This project is my first step into gRPC and GO. The project deals with creating an api wich returns an addition or multiplication of two numbers and it tells also weither a number is prime or not.

git clone https://github.com/amine7777/go-grpc-api.git
cd go-grpc-api/server
go run main.go
cd ..
cd client 
go run main.go

Check your browser on:

localhost:8580/add/<FirstNumber>/<SecondNumber>           
localhost:8580/mult/<FirstNumber>/<SecondNumber>           
localhost:8580/prime/<AnyNumber>     

About

This project is my first step into gRPC and GO. The project is an API which returns Addition and Multiplication of two numbers and also tells weither a number is prime or not.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages