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
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.
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
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.