Microservices Go gRPC
Deployed in EC2, Check it out!
This repo contains microservices written in Go with BFF pattern for performing CRUD operations.
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 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
Afterwards you can run services in your local environment
bash start-local.sh
Finally, you will need the UI, either setup using docker-compose.yml
or follow steps in Microservices gRPC UI
You can start using 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.