Simple Microservices with Spring Boot and gRPC
- Once the prerequisites are installed, run the command in folder /docker.
docker-compose -f docker-compose.yml up -d
| Spring Cloud | Spring Security | Rest Server | gRPC Server | Postgresql | RabbitMQ | ElasticSearch | Redis | |
| Config Server | x | |||||||
| Service Registry | x | x | ||||||
| Api Gateway | x | x | x | x | x | |||
| Auth Service | x | x | x | |||||
| Employee Service | x | x | x | x | ||||
| Department Service | x | x | x | |||||
| Notification Service | x | x | x | x | ||||
| Location Service | x | x | ||||||
| Tracking Service | x | x | x | x | ||||
| Recruitment Service | x | x | x | x | ||||
| Attendance Service | x | x | x | x |
- Services Port
| Rest Server Port | gRPC Server Port | |
| Config Server | 8088 | |
| Service Registry | 8761 | |
| Api Gateway | 8003 | |
| Auth Service | 8004 | 8040 |
| Employee Service | 8002 | 8020 |
| Department Service | 8001 | 8010 |
| Notification Service | 8005 | 8050 |
| Location Service | 8006 | 8060 |
| Tracking Service | 8007 | 8070 |
| Recruitment Service | 8008 | 8080 |
| Attendance Service | 8009 | 8090 |
-
Run with IntelliJ IDEA
-
Run command in root project /dkmicroservices
mvn clean install
-
Maven
-
Service run order: service-registry, config-server > department-service, employee-service, auth-service, notification-service > api-gateway
-
Open browser and type http://localhost:8761. All services already started
- Need only download docker-compose.prod.yml
- Run command
docker-compose up -d












