Microservices Servers
(4) Microservices built with Golang, gRPC and PostgreSQL.
Create folder for config.json file
$ sudo mkdir /etc/server-ms-backend
$ sudo touch /etc/server-ms-backend/config.json
$ sudo cp ./config.json /etc/server-ms-backend/config.json
$ sudo chmod 777 /etc/server-ms-backend/config.json
if you changed the config.json file, use the command at the bottom to update the config.json file on your computer
$ sudo cp ./config.json /etc/server-ms-backend/config.json
Command to run server
$ go run main.go
Command to run the test
$ go test ./... --cover