Create a REST API with Spring Boot using H2 database then PostgreSQL and Swagger documentation

What you will learn

Use Spring Web to implement a REST API

Use Spring Data to communicate with a database

Run a PostgreSQL database using Docker Compose

Use Spring’s Exceptions Handler to customise errors response

Use Spring Doc to generate Swagger documentation

Why take this course?

In this course, you will learn how to develop a REST API using Spring Boot.

This course includes:

  • Introduction to Spring Boot: Discover the basics of the framework, its advantages for API development, and how it simplifies the creation of web applications.
  • Configuring an H2 database: We’ll start by using H2 in memory, ideal for rapid prototyping, testing and local development.
  • Migration to PostgreSQL: Once the foundations have been laid, we will integrate PostgreSQL for an environment better suited to professional applications and production requirements.
  • Documentation with Swagger: Finally, we will add interactive documentation to our API, making it easier for other developers to use, integrate and maintain.

Skills and technologies covered:


Get Instant Notification of New Courses on our Telegram channel.

Noteβž› Make sure your π”ππžπ¦π² cart has only this course you're going to enroll it now, Remove all other courses from the π”ππžπ¦π² cart before Enrolling!


This course will give you the essential foundations for mastering Spring Boot and will include modules on the following technologies and best practices:

  • Managing persistence with JPA and Hibernate
  • Using Spring annotations to simplify code
  • Error and exception handling for a more robust API
  • Setting up a RESTful architecture
  • Introduction to API security with Spring Security

Who should attend?

Whether you’re a beginner or a developer looking to expand your knowledge, this course is for you. Not only will you learn how to create API endpoints, but also how to manage requests and responses effectively, configure security, carry out unit and integration tests, and optimise performance.

By the end of this course, you will be able to create a complete, well-documented and secure REST API, ready for deployment in a real environment. Join us to develop your API development skills with Spring Boot, master best practices, and open the door to new rewarding professional opportunities!

English
language