/Books-mini-task

This mini-task was set to get students acquainted with displaying content on the web.

Primary LanguageJava

Spring Review & Practise

Your task today is to review the concepts we covered this morning and to create your own simple Spring project which generates a valid JSON array response to a HTTP GET request.

Review

Before you start, please ensure that you are no longer running a server from this morning's codealong!

Review the lessons from this morning by reading over the relevant sections of the Textbook:

HTTP: CRUD over the web Intro to Spring Boot Spring Boot: REST API part I Practise Use the tutorial in Spring Boot: REST API part I to create your own project, from scratch, that outputs a valid response to a Get request.

You will need to:

generate a project from Spring Initializer add the correct dependency (Spring Web) create a controller Annotate it correctly and output something (an array of Strings) on that route