Sitemap
Better Programming

Advice for programmers.

Demystify Spring Boot (Part 2)

Building an API in Spring that connects to a MariaDB database

9 min readDec 30, 2020

--

Press enter or click to view image in full size
A person standing in a foggy field.
Photo by Jakub Kriz on Unsplash

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/ .

--

--

Jordan Williams
Jordan Williams

Written by Jordan Williams

Enjoys creating software that make tasks simpler. Always trying to gain new knowledge and expertise.

Responses (1)