Skip to content

Example grpc-gateway server for working with users data

Notifications You must be signed in to change notification settings

Egor123qwe/grpc-gateway-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User web Service

This web service has basic endpoints for working with user data, such as creating, deleting and getting a user, and also implements a system of subscriptions and unsubscribes. The project is an example of the use of grps-gateway in Go.

Technologies Used

  • Language: Go
  • API's: REST, gRPC
  • Technologies: grpc-gateway, Docker, Docker Compose, mockery, testify, protobuff, Swagger
  • Storage: MongoDB

Additional Notes

  • In the project directory there is a client directory, that allows you to run gRPC calls to the server API.
  • REST endpoints are available with the help of grpc-gateway, that is factically reverse-proxy, that allows you to send http request to the gRPC server

Endpoints

You can view the documentation by starting the server and accessing endpoint /docs

Setup Instructions

  1. To run the application and set up mongoDB:

    make docker-compose-up
  2. To run tests with coverage and generate page with coverage

    make test

About

Example grpc-gateway server for working with users data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published