return a react view in spring boot controller code example Example: spring react npm install react-spring