You always wanted to create RESTful API's that store their data in a database? In this tutorial I will show you how you can use Spring Boot, Java Persistence API (JPA) and MySQL to create a small RESTful API that stores your data in a local MySQL database.

Now that we've seen how to create a rest controller with Spring Boot and address it with Postman, should we think about how to store the data in the system? There are many ways and ways to store data. The classic variant would be to use a SQL database like MariaDB. But I want to show you in my tutorial how you can store the data in a MongoDB.

In the last tutorial we learned how to create applications with Spring Boot using Apache Maven in a very short time. This tutorial is about creating a rest controller with Spring Boot. We will learn how to create a rest controller and how to offer different HTTP methods (GET, POST).

With Spring Boot and Apache Maven it is possible to create microservices in shortest time! In this tutorial I would like to show you how to create a Spring Boot project with Apache Maven. Later there will be more tutorials, which will build on this tutorial.