GraphQL is a specialized query language which gives us an alternative a more flexible approach to managing data in our application than restful design. In this tutorial we will learn how to use GraphQL with a Spring Boot application.
In order to have some data inserted at application start up, all you have to do is creating a data.sql … Read more
A common requirement when you are developing and testing your application is to use create and drop your database schema at start up. Let’s learn how to do that in a simple Spring Boot application.
The key to define a Mock Repository is the @Repository annotation. @Repository is a Spring annotation that indicates that the decorated class is a repository.
You can create a Spring Boot application using Groovy either from the IDE or using the online Spring Boot application … Read more
In order to enable H2 In-Memory Database in Spring Boot applications you have to include the “h2” dependency in your … Read more
In this tutorial we will learn how to create a basic application using Spring Boot CLI and MySQL as database. We will then import the application into an IDE to create a sample application which stores some data which is later retrieved by the SpringApplication class.