The CRUD Framework is a Spring-powered framework intended to simplify and expand on CRUD operations in Spring, currently supporting both MongoDB(Via Spring Data) and JPA.
The CRUD Framework is currently compatible with Spring Boot 2.6.7
Only one connector is required, but it is possible for multiple connectors to work in tandem with eachother.
Maven:
<dependency>
<groupId>dev.krud.crudframework</groupId>
<artifactId>crud-framework-hibernate5-connector</artifactId>
<version>0.23.0</version>
</dependency>
Gradle:
implementation("dev.krud.crudframework:crud-framework-hibernate5-connector:0.9.0")
<dependency>
<groupId>dev.krud.crudframework</groupId>
<artifactId>crud-framework-mongo-connector</artifactId>
<version>0.23.0</version>
</dependency>
Gradle:
implementation("dev.krud.crudframework:crud-framework-mongo-connector:0.9.0")
Contains useful utilities and classes for web operations
<dependency>
<groupId>dev.krud.crudframework</groupId>
<artifactId>crud-framework-web</artifactId>
<version>0.23.0</version>
</dependency>
Gradle:
implementation("dev.krud.crudframework:crud-framework-web:0.3.3")
To activate the CRUD Framework, add the activation annotations for your chosen connectors to a configuration class;
Connector | Annotation |
---|---|
hibernate5 | @EnableJpaCrud |
mongo | @EnableMongoCrud |
Once activated, the CrudHandler
bean can be wired and used.
CRUD Framework is released under CC-BY 3.0. For more information visit LICENSE.md