Gateway Service/Zuul Server

port: 8765, service without tests

Zuul Server (proxy) is a gateway application that handles all the requests and does the dynamic routing of microservice applications. The server knows the routes instead of addressing them individually. The Zuul Server is also known as Edge Server.

For Example, /api/user is mapped to the user service and /api/software is mapped to the software service and Zuul Server dynamically routes the requests to the respective backend application.

Routes: auth-service: path: /auth/ user-service: path: /user/ course-service: path: /course/ software-service: path: /software/ Add the following dependencies into the build.gradle file:

implementation 'org.springframework.cloud:spring-cloud-starter-netflix-zuul'

Last updated

Was this helpful?