Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


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

Before you download this book...

Drowning in data? HPE Ezmeral Software helps you transform it into actionable insights. Click to explore solutions!

Note: By checking the box you grant InfoQ permission to share your contact info with this sponsor.

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