microservices-go-grpc

module
v0.0.0-...-eee7c91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2022 License: MIT

README

Microservices Go gRPC

Deployed, Check it out!

For more context, please read the Medium Story before checking the code

This repo contains microservices written in Go which aims to demonstrate BFF pattern by performing distributed CRUD operations.

See Also

Installation

Clone the repository

git clone https://github.com/uid4oe/microservices-go-grpc.git

You should have Docker installed beforehand.

.env is included. You just need to create network & execute docker-compose command

docker network create uid4oe
docker-compose up -d

At this point everything should be up and running! You can access to UI at

http://localhost:3000

Additionally, you may take a look at Microservices gRPC UI for the UI code.

Local Development

For running services in local environment, you will need a MongoDB & PostgreSQL instance, you can use local.yml It will set up MongoDB, PostgreSQL and UI.

docker network create uid4oe
docker compose --file local.yml up -d

Now lets start microservices locally.

bash start-local.sh

or

start-local.bat

That's great. Now we can use the app through UI at

http://localhost:3000

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Directories

Path Synopsis
bff

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL