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.
Englische Blog Beiträge
Hier findest Du meine Blog Beiträge über die Programmierung und Softwareentwicklung, die in der Englischen Sprache verfasst sind.
In this tutorial I want to show you how to convert lists or sets into a map with the Java 8 Streaming API Collection.
In this tutorial I want to show you how to start and stop mongodb under Docker Container. This tutorial can also be used for MySQL and MariaDB.
In this tutorial I want to show you how to start and stop MongoDB under Docker Container. This tutorial can also be used for MySQL and MariaDB.
In this tutorial I will show you how you can use Spring Boot, Spring Security & JWT to secure your Micrsoservice or REST API against unauthorized persons.
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.