Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.03 KB

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