Member-only story
Demystify Spring Boot (Part 2)
Building an API in Spring that connects to a MariaDB database
Spring is a framework that allows you to create enterprise-level applications. The problem arose where it took many configurations to get an initial application up. This is where Spring Boot came along.
“Spring Boot allows you to abstract (hide) these configurations. So you can get a preconfigured template application.” — From part 1 of this series
Here in this article, you’ll be shown how to create a Rest API in Spring Boot. This API will be a CRUD (create, read, update, delete) application that connects to a SQL database — in this case, a MariaDB database.
If you’re new to Spring or you just need a refresher in Spring and its concepts, the previous article explains the basics.
Let’s Begin !
To start off, we’ll be creating a Spring Boot project. We’ll do this by going to https://start.spring.io/ .

