Member-only story
Spring Boot
Postgres
Liquibase
Mybatis
Gradle
Spring Boot Rest API with MyBatis and PostgreSQL
7 min readJul 4, 2022
In this story, we’ll implement a sample REST API that uses Spring Boot with MyBatis and PostgreSQL.
If you are not a Medium member, then click here to read for free.
· Prerequisites
· Overview
∘ What is MyBatis?
∘ Why Mybatis?
· Getting Started
∘ Project Structure
∘ Database initialization
· Spring MyBatis integration
∘ Create Book Model
∘ Create Book Repository
∘ Service Layer
∘ Create Book Controller
· Test the application
· Conclusion
· References
Prerequisites
This is the list of all the prerequisites:
