First Run the API gateWay using netflix-eureka-naming-server module
Run the NetflixEurekaNamingServerApplication.class java main class you can check the Api gateWay At this Link http://localhost:8761/
Run the API Zuul proxy server using netflix-zuul-api-gateway-server module
Run the Zuul proxy server using main class
Run the user-core Service module using main class
http://localhost:8085/swagger-ui.html#/user-controller
url -> localhost:8085/user-core-service/createUser
request payload :
{
"id": "119",
"firstName": "Ankur",
"surName": "Khanna",
"dob": "1991/05/19",
"title": "software Engineer"
}
Response::
{
"id": "119",
"firstName": "Ankur",
"surName": "Khanna",
"dob": "1991/05/19",
"title": "software Engineer"
}
localhost:8085/user-core-service/getAllInfo Response -->> [ { "id": "11", "firstName": "vijay", "surName": "koshis", "dob": "1991/05/19", "title": "software Engineer" }, { "id": "12", "firstName": "vijay", "surName": "koshis", "dob": "1991/05/19", "title": "software Engineer" } ]