Generating source code

Let's take a look at the generated code. Since we already saw the server-side code in previous chapters, we will only look at the client-side code here:

The structure is quite similar to what we saw for Angular, but the React code is organized slightly differently. We are concerned only about the code inside src/main/webapp/app as everything else is exactly the same as what we saw for the Angular application.

Let's take a look at some of the important parts of the code:

  • index.tsx: This is the entry point of our application. This is where we bootstrap React to the root div and initialize the Redux store:
...const devTools ...

Get Full Stack Development with JHipster now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.