SpringBoot-Microservice with JWT and Role Based Access
A Spring Boot Microservice Example that includes Eureka Server, Zuul Gatway (JWT and RBA), Spring Cloud Config Server, Hystrix (Circuit Breaker) and three custom services for data.
A Front End Module for accessing these Microservices in written in Angular 6. Below is the link:
EmployeeApp Angular
EurekaServerProj
Hosts eureka server.
PORT: 8761
EurekaServerProj Repo Link
GatewayServerZuul
Gateway for microservies. It includes JWT and Rolebased Access.
PORT: 8093
GatewayServerZuul Repo Link
ConfigurationService
Providing common configurations and constants to all microservices.
PORT: 8094
ConfigurationService Repo Link
HystrixDashboard
Provides Hystrix Dashboard to monitor services with alternate methods in case of cuircuit break.
PORT: 8092
HystrixDashboard Repo Link
EmployeeProducerService
Custom Service that provides Employee Data.
PORT: 8097
EmployeeProducerService Repo Link
EmployeeAccessService
Custom Service that calls EmployeeProducerService (testing purpose).
PORT: 8099
EmployeeAccessService Repo Link
EmployeeFeignClientService
Service that calls EmployeeProducerService using OpenFeign (testing purpose).
PORT: 8005
EmployeeFeignClientService Repo Link
TicketSystemService
Custom Service that provides data on tickets/tasks.
PORT: 8098
TicketSystemService Repo Link
Credentials to test role based access from Zuul Gateway server
admin:admin
user:userpass