Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrakashkumar/microservicesspringboot
it is micro-services spring boot application. we are creating API Gateway layer, registry service layer and two other service layer. it is communicating each to other. Every service goes to API Gateway layer. We are using multi technologies in this project like cloud services and other
https://github.com/mrakashkumar/microservicesspringboot
actuator-spring-boot eureka-client eureka-server gateway-api java8 jwt-token microservice rest-api springboot2
Last synced: 1 day ago
JSON representation
it is micro-services spring boot application. we are creating API Gateway layer, registry service layer and two other service layer. it is communicating each to other. Every service goes to API Gateway layer. We are using multi technologies in this project like cloud services and other
- Host: GitHub
- URL: https://github.com/mrakashkumar/microservicesspringboot
- Owner: MrAkashKumar
- Created: 2021-01-22T10:03:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T11:56:58.000Z (about 4 years ago)
- Last Synced: 2024-04-18T04:50:14.505Z (10 months ago)
- Topics: actuator-spring-boot, eureka-client, eureka-server, gateway-api, java8, jwt-token, microservice, rest-api, springboot2
- Language: Java
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MicroservicesSpringBoot
it is micro-services spring boot application. we are creating API Gateway layer, registry service layer and two other service layer. it is communicating each to other. Every service goes to API Gateway layer. We are using multi technologies in this project like cloud services and otherSTEP 1 :: First run registery-service
STEP 2 :: After Run API-Gatway Service
STEP 3 :: After Run Employee-service
STEP 4 :: After Run Company Service
*****************************************--------------*********************************
if you want to run on your local machine then use this command
Step 1 :: git clone https://github.com/MrAkashKumar/MicroservicesSpringBoot.git
Step 2 :: Import IDE (suggested IDE like :: Intellij IDEA) but you can use any IDE
Step 3 :: mvn clean install
Step 4 :: Configure as per module and run
Step 5 :: Enjoy and learn
--------********----------**********-----------***************
API Details of each services
..............**********.............************............
STEP 1 :: Create company details
URL : localhost:9191/com/api/company
TYPE : POST
Request Body::
{
"companyName":"Company XXXXX",
"companyLocation":"PUNE",
"companyCode":"ComapnyXXX"
}
STEP 2 :: GET Company DetailsURL:: localhost:9191/com/api/company/1
TYPE:: GET
Response
STEP 3 :: Create Employee detailsURL :: localhost:9191/emp/api/employee
TYPE :: POST
Request Body::
{
"employeeName":"Akash Kumar",
"email":"[email protected]",
"employeeCode":"Company356",
"companyId":"1"
}
STEP 4 :: GET Employee Details
URL :: localhost:9191/emp/api/employee/1
TYPE:: GET
Response
Enjoy End !!!!!!!!!!Thanks
if anything confusion please let me know