github.com/TekClinic/Doctors-MicroService/doctors_protobuf


Install
go get github.com/TekClinic/Doctors-MicroService/doctors_protobuf

Documentation

Doctors-Microservice

This repository contains a gRPC service for managing doctors' information within TekClinic. The service is implemented in Go and uses Protobuf for defining message types and service methods.

Please note that the provided code assumes the existence of a TekClinic/MicroService-Lib library for authentication and environment variable handling, and setting up the environment variables found in TekClinic/MicroService-Lib is a prerequisite.

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/TekClinic/Doctors-MicroService.git
  1. Set up the required environment variables for database connection:
DB_ADDR=<database_address>
DB_USER=<database_user>
DB_PASSWORD=<database_password>
DB_DATABASE=<database_name>
  1. This microservice uses the TekClinic/MicroService-Lib library for base configuration, therefore, you have to set up environment variables for the library. For further information, please refer to the MicroService-Lib repository

  2. Run the server:

go run server.go