Kotlin microservices with REST, and gRPC using BFF pattern
Microservices Kotlin gRPC
Deployed in EC2, Check it out!
This repo contains microservices written in Kotlin with BFF pattern for performing CRUD operations.
Installation
Clone the repository
git clone https://github.com/uid4oe/microservices-kotlin-grpc.git
You should have Docker installed beforehand.
.env
is included. You just need to 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/kotlin
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, either setup your own or use docker-compose.yml
Then you can run locally. Do not forget to add above VM argument to every app.
-Dspring.profiles.active=develop
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/kotlin
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.