Skip to content

garcia-paulo/upvotes-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upvotes-grpc

Hello, thank you for looking at this humble repository. The project is intended as a coding test for a job application at Klever. The project is a gRPC upvotes service, where a authenticated user can access posts created by other users and upvote them. Pretty simple right?

Starting up

If you just want to access the API. You can do so via the ip address: 164.92.121.144:8080.

Alternatively, the project is read to be built and the commands needed to run the project are in the Makefile in the root directory. If you don't have Make installed just go to /server and run go run .. Of course, you'll need go installed.

To test the endpoint I used BloomRPC which functions as Postman or Imsomnia, but for gRPCs. All you'll need to do is:

  • Import the protos
  • Create a user
  • Put the returned token in the metadata (the tab at the bottom) as "authorization"

image

And that's it, you'll have access to all of post methods. It's simple but I hope you'll like it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages