BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Guides Practical Guide to Building an API Back End with Spring Boot - Version 2

Practical Guide to Building an API Back End with Spring Boot - Version 2

Bookmarks

Thousands of developers learned the basics of building a REST API using Spring Boot from the InfoQ minibook, "Practical Guide to Building an API Back End with Spring Boot". The book used Spring Boot 2, as this was the newly released version at the time of publishing. However, Spring Boot 3 was recently released and represents a significant update with important changes. For this reason, updating the book was necessary.

Almost every chapter of the book has been reworked for changes to Spring Boot 3. A significant change was made to the implementation of security. The book now uses Keycloak as an authorization server, a free and open-source alternative, although the principles explained are also useful with other platforms.

If you are eager to learn about Spring Boot, REST APIs, security, validation, and testing, consider giving this updated book a try. You are guaranteed to learn something new!

The book covers:

  • Setting up your project
  • Security and user management for your application
  • Writing REST endpoints
  • Connecting with a database from your application
  • Unit and integration testing for all aspects
  • Writing documentation for your REST endpoints
  • Supporting file upload from your REST API

Free download

Table of Contents:

  • Introduction                                                                                    
  • What Is Spring Boot?
  • Getting Started                                                                                 
  • CopsBoot
  • User Management
  • REST API Security
  • Application Users
  • Working with a Real Database
  • Validation
  • File Upload
  • Action!
  • About the Author
BT