Skip to content

Go microservices with REST, and gRPC for demonstrating the BFF pattern. This repository contains backend services. Everything is dockerized and ready to "Go" :-)

License

Notifications You must be signed in to change notification settings

uid4oe/microservices-go-grpc

Repository files navigation

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.

About

Go microservices with REST, and gRPC for demonstrating the BFF pattern. This repository contains backend services. Everything is dockerized and ready to "Go" :-)

Topics

Resources

License

Stars

Watchers

Forks