Build REST CRUD APIs with Spring Boot, MyBatis(XML Mapping), & PostgreSQL
In this section, we will learn how to develop a REST-style web service with Spring Boot , MyBatis(XML Mapping) and PostgreSQL . GitHub repository link is provided at the end of this tutorial. You can download the source code. Technologies used: Spring Boot 3.0.1 MyBatis 3 Java 17 Maven PostgreSQL driver and database These are APIs that Spring Boot backend App will export: Creating a simple spring boot web application: First, open the Spring initializr https://start.spring.io/ Then, Provide the Group and Artifact name. We have provided Group name com.knf.dev.demo and Artifact spring-boot-postgresql-mybatis-xml-crud . Here I selected the Maven project - language Java 17 - Spring Boot 3.0.1 and add Spring web dependency , MyBatis Framework and PostgreSQL Driver . Then, click on the Generate button. When we click on the Generate button, it starts packing the project in a .zip( spring-boot-postgresql-mybatis-xml-crud ) file and downloads the project. Then, Extract the Zip file.