Adding a UI to our customer service

As we mentioned in Chapter 1, Introduction to Quarkus Core Concepts, you can include static resources such as HTML pages, JavaScript, CSS, or images in the src/main/resources/META-INF/resources folder. An index.html page is provided as a marker in our project, as shown in the project's hierarchy:

$ tree src src ├── main │   ├── docker │   ├── java │   │   └── com │   │       └── packt │   │           └── quarkus │   │               └── chapter4 │   │                   ├── CustomerEndpoint.java │   │                   ├── Customer.java │   │                   ├── CustomerRepository.java │   └── resources │       ├── application.properties │       └── META-INF │           └── resources │               ├── index.html 

In order to connect to our REST endpoint, we will include a JavaScript framework called AngularJS and some CSS styling in the head ...

Get Hands-On Cloud-Native Applications with Java and Quarkus 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.