Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antelopesystems/crud-framework

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.
https://github.com/antelopesystems/crud-framework

hibernate java kotlin mongodb spring-boot spring-framework

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

        

# CRUD Framework

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.antelopesystem.crudframework/crud-framework/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.antelopesystem.crudframework/crud-framework)
[![CircleCI](https://circleci.com/gh/antelopesystems/crud-framework.svg?style=shield)](https://circleci.com/gh/antelopesystems/crud-framework)

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.

## Compatibility

The CRUD Framework is currently compatible with Spring Boot 2.0.8

## Getting started

### Dependencies

Only one connector is required, but it is possible for multiple connectors to work in tandem with eachother.

#### JPA/Hibernate5 Connector

Maven:

```xml

com.antelopesystem.crudframework
crud-framework-hibernate5-connector
0.4.1

```

Gradle:

```kotlin
implementation("com.antelopesystem.crudframework:crud-framework-hibernate5-connector:0.4.1")
```

### MongoDB Connector

```xml

com.antelopesystem.crudframework
crud-framework-mongo-connector
0.4.1

```

Gradle:

```kotlin
implementation("com.antelopesystem.crudframework:crud-framework-mongo-connector:0.4.1")
```

### Web

Contains useful utilities and classes for web operations

```xml

com.antelopesystem.crudframework
crud-framework-web
0.3.3

```

Gradle:

```kotlin
implementation("com.antelopesystem.crudframework:crud-framework-web:0.3.3")
```

### Operation

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.

## License

CRUD Framework is released under CC-BY 3.0. For more information visit `LICENSE.md`