Let's start the application to view the generated pages. In the Terminal, execute the Gradle command the follows:
> ./gradlew
This will start the server in development mode locally. Since the import-jdl
step already compiled the frontend code, we don't have to run yarn start
just to see the new pages, but please note that for further development it is better to use yarn start
along with the preceding command. If you had the server already running while generating the entities, then no need to run this command, instead just compile the source again using the ./gradlew compileJava
command. Using your IDE and Spring devtools will hot reload the application for you. If you had yarn start
running then a hot reload will take place on the client side as well, otherwise, it will just refresh the page. We will see more about hot reloading in the next chapter.
Once you see the following message, the server is ready and we can navigate to the URL http://localhost:8080
in our favorite...