What it does
A Cursor rules file for Spring Boot 3 projects on Java 17 with Maven, Spring Data JPA, Thymeleaf, Lombok and PostgreSQL. It defines how controllers, service implementations, repositories, DTOs and entities should be layered, and sets conventions for entity annotations and lazy fetching.
Use cases
- 01Generate a REST controller that returns DTOs
- 02Create a JPA entity with Lombok and lazy relations
- 03Add a service implementation backed by a repository