spring-attic / tut-react-and-spring-data-rest

React.js and Spring Data REST :: A tutorial based on the 5-part blog series by Greg Turnquist
https://spring.io/guides/tutorials/react-and-spring-data-rest
882 stars 1.58k forks source link

How to make this SEO friendly? #57

Closed yamennassif closed 7 years ago

yamennassif commented 7 years ago

This approach might be one of the best approaches i have in hand to use my REST services i built on Springboot but still i am concerned about how to make this SEO friendly. Since it will be a one page app?

gregturn commented 7 years ago

The tutorial isn't angled toward SEO but hypermedia. For starters, the hypermedia endpoints are NOT part of the UI, hence building up some sort of dynamic, Spring-based site.xml endpoint doesn't sound that hard, ehh?

If you're talking about bookmarkable points in the UI, then you'd have to investigate something like React Router.

Either way, that would be out of scope for this tutorial.