Spring Boot with ReactJS using Gradle plugins

Опубликовано: 10 October 2024
на канале: Mike Møller Nielsen
6,010
123

This video shows how to have a reactJS application inside your Spring Boot container and how to bundle it all up using Gradle. Im using the gradle-node-plugin to compile and build the ReactJS frontend application with npm.

The plugin has a task that ensures that Node and npm are installed with the expected version. The plugin needs to be configured with the Node version and with the location of the package.json. Enjoy! :-) Feel free to leave me comments. The code is located here:
https://github.com/ekim197711/springb...