{"repo":"bariskokulu/CRUDGen","free":true,"listed":false,"github":"https://github.com/bariskokulu/CRUDGen","clone":"git clone https://github.com/bariskokulu/CRUDGen.git","description":"Compile-time annotation processor for Spring Boot. Generates predictable REST APIs, DTOs, JSON Patch endpoints, and N+1 safe JPA repositories without runtime reflection.","language":"Java","stars":11,"topics":["annotation-processor","boilerplate","code-generator","dto","java","jpa","json-patch","mapstruct","spring-boot"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"CrudGen Compile-time annotation processor for Spring Boot 3 and 4. Annotate a JPA/Mongo entity or a use-case class; CrudGen generates repositories, services, REST controllers, immutable DTOs, and MapStruct mappers. Features - Compile-time generation — The processor runs in the javac annotation-processing round and emits plain .java sources. No runtime bytecode weaving, no reflection-based code paths in generated controllers or services. - N+1-safe JPA reads — When RepoType.JPA is used and the Read DTO includes relation=true fields, generated repositories expose @EntityGraph read methods; services call them on get / getAll / getPaged . Relation binding stays out of MapStruct mappers. - JSON Patch updates — With \"Update\" in dtos , generated controllers expose PATCH /{id} and PATCH /batch consuming application/json-patch+json , applying patches via zjsonpatch and validating the merged DTO. - Configurable surface per type — dtos , controllerPath , service , extend / custom , and @EndpointGen control which layers and endpoints are generated. Empty controllerPath skips controller, DTOs, and mapper; customRepo / customService / customController swap in your implementations. Quick comparison (before / after) Before — annotated entity only After — one compileJava pass Representative generated code: Coordinates: io.github.bariskokulu:crudgen:1.1.1 Bytecode: Java 17 (your app JDK and Spring Boot version are independent). What the library does Area Annotations ------ ------------- Entity","default_branch":null,"files":null,"tree":[],"storefront":"/r/bariskokulu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bariskokulu/CRUDGen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}