https://www.sourcecodeexamples.net/2021/08/spring-boot-kotlin-jpa-crud-example.html
Type the following command in your terminal to run the app -
mvn spring-boot:runThe app will start running at http://localhost:8080.
The app defines following CRUD APIs.
GET /api/posts
POST /api/posts
GET /api/posts/{id}
PUT /api/posts/{id}
DELETE /api/posts/{id}
You can test them using postman or any other rest client.