Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Building RESTful APIs with Spring Boot

via CodeSignal

Overview

This chapter focuses on building RESTful APIs using Spring Boot. You will learn how to create basic REST controllers, return JSON responses, handle path variables and query parameters, and implement CRUD operations for your application.

Syllabus

  • Unit 1: Building RESTful APIs with Spring Boot
    • Building Your First REST Controller in Kotlin
    • Modify the REST Controller and Return a Recipe Object
    • Extend the RecipeController with a New Endpoint
  • Unit 2: Returning JSON Responses in Spring Boot
    • Returning JSON Responses in Spring Boot with Kotlin
    • Convert the Recipe Class to a Kotlin Data Class
    • Tweak Serialization of Recipe Data Class
  • Unit 3: Handling Path Variables and Query Parameters in Spring Boot
    • Handling Path Variables and Query Parameters
    • Making RequestParam Nullable
    • Fix the Server Error When Fetching a Recipe by ID
    • Extend Recipe Controller with GET Endpoint for Categories
    • Adding a GET Endpoint with Filters in Kotlin
  • Unit 4: Creating CRUD Endpoints with Spring Boot
    • Creating CRUD Endpoints in Kotlin with Spring Boot
    • Simplify RecipeController with @RequestMapping Annotation
    • Fixing Recipe Controller in Kotlin Spring Boot
    • Implement the POST Endpoint for Adding Recipes
    • Implement PUT Endpoint for Updating Recipes
    • Implement DELETE Endpoint for Recipe Removal in RecipeController
  • Unit 5: Handling Invalid Requests with ResponseEntity
    • Enhance CRUD Endpoints with ResponseEntity in Kotlin
    • Update POST Endpoint to Use ResponseEntity in Kotlin
    • Updating PUT Endpoint with ResponseEntity
    • Modifying DELETE Endpoint to Return HTTP Status Codes Using ResponseEntity

Reviews

Start your review of Building RESTful APIs with Spring Boot

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.