Closed laz1r closed 3 years ago
I was not aware I had to copy the client.js, uriListConverter.js, and uriTemplateInterceptor.js files from here: https://github.com/spring-guides/tut-react-and-spring-data-rest/tree/master/basic/src/main/js in order to implement this line of code - const client = require('./client');
in the tutorial.
Once I copied those files, the application was able to render.
I've copied all source code, and when I go to localhost:8080 in the browser I see the title ReactJS + Spring Data REST but the rest of the page is blank, also I clicked view source and I can see the index.html source code, but nothing is rendering.
Also I can go to localhost:8080/api/employees and see the employee in JSON output.
Any ideas what I could be missing?