Facilitating the spread of knowledge and innovation in professional software development



Choose your language

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

Practical Guide to Building an API Back End with Spring Boot


I have been working with Spring Boot for over two years and it has made development a tremendous joy. It is important in our fast-paced world to be able to prototype quickly, but also to ensure that you are not doing any wasted work.

For me, this is one of the major strengths of Spring Boot. The smallest application can fit in a tweet, yet your application will scale to Internet scale with the greatest of ease.

Combine Spring Boot with Spring Data and Spring Security and you can have something up and running in no time. And it is not just "something", it is a solid base to build upon.

Starting your first project with Spring Boot can be a bit daunting given the vast options that it provides. This book will guide you step by step along the way to be a Spring Boot hero in no time.

The source code of the book is available on GitHub.

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

Buy the print version for $19.99

Table of Contents:

  • Practical Guide to Building an API Back End with Spring Boot                                      
  • Dedication                                                                                     
  • Acknowledgements                                                                             
  • Preface
  • Introduction                                                                                    
  • What Is Spring Boot?
  • Getting Started                                                                                 
  • CopsBoot
  • User Management
  • REST API Security
  • User REST Controller
  • Working with a Real Database
  • Validation
  • File Upload
  • Action!
  • About the Author
  • Appendix A: OAuth Database Schema                                                                                   
We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.