Summary
In this chapter, we used start.spring.io to create a barebones web application. We injected some demo data using a service. We create a web controller that uses Mustache to render dynamic content based on the demo data.
Then, we created a JSON-based API allowing third-party apps to interact with our web app, whether it’s to retrieve data or send in updates.
Finally, we leveraged Node.js to introduce some JavaScript to our web app using a Maven plugin.
Building web controllers, serving up templates, rendering JSON-based APIs, and serving up JavaScript apps is a valuable skill on just about any project.
In the next chapter, Querying for Data with Spring Boot, we will dig into creating and managing real data using Spring Data and the amazing power Spring Boot brings us.