https://github.com/rootdavinalfa/spring-microservices
A demo for spring microservices using Eureka Registry
https://github.com/rootdavinalfa/spring-microservices
Last synced: 10 months ago
JSON representation
A demo for spring microservices using Eureka Registry
- Host: GitHub
- URL: https://github.com/rootdavinalfa/spring-microservices
- Owner: rootdavinalfa
- Created: 2021-07-02T04:34:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T03:55:55.000Z (almost 5 years ago)
- Last Synced: 2025-08-21T08:07:45.177Z (10 months ago)
- Language: Java
- Size: 2.74 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-microservices
A demo for spring microservices using Eureka Registry
This project contains:
1. Service-User -> Service for user
2. Service-HR -> Employee data
3. Service-Registry -> Spring Boot Eureka Registry
4. core-library -> Core, helper, base
# Architecture

# How to run
To run this service, make sure service-registry has been started, to do that use:
gradle service-registry:bootRun
Then you can run other service like:
service-user
gradle service-user:bootRun
service-hr
gradle service-user:bootRun
# Service Mapping
This project preconfigured with this mapping:
service-registry -> http://127.0.0.1:9090/eureka
service-user -> http://127.0.0.1:9091
service-hr -> http://127.0.0.1:9092
service-gateway -> http://127.0.0.1:8080 ( Published endpoint at /user/** /employee/** )