Integrating Consul with react application

Hi Consul,
I have a spring boot java microservice project which is integrated with consul. the issue is how can i integrate it with my react front-end project.