Hey there! This app is an example application for anyone looking for a web app linking the backend capabilities of Spring Boot (with Hibernate) to excellent frontend offered by React.
If you would like to follow on the tutorial for the app you can visit the article on medium: How to build and deploy React app with Spring Boot and MySQL server.
The purpose of the app was to learn as to :
- How to build Spring Boot apps?
- How to build React apps?
- How to encapsulate the backend to the frontend?
- How to deploy React and Spring Boot along with MySQL DB in my server?
You'll need maven, npm and JAVA pre-installed, which most probably you'll already have. To run the application, run the following commands from the console.
$ mvn clean
$ mvn package
$ java -jar target/springboot-0.0.1-SNAPSHOT.jar
I hope this app gives some insight on how to compile the backend and the frontend into a single executable file making deployment a breeze.
If you have any feedback or suggestion, let's connect on LinkedIn: Mukund Madhav or on my website at mukundmadhav.com
Happy coding 😃