Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.38 KB

⚡ Crudify - Because life is too short to CRUD ⚡

(Under development)

This is a library that provides the @Crudify annotation in order to facilitate the creation of CRUD endpoints based on model classes.

This library is under development. The objective is to be able of generating a whole CRUD API simply by adding an annotation on your Model Class.

Example:

@Crudify  //<--- You will just insert this annotation
@Document(collection = "myGreatModel")
public class MyGreatModel{

    @Id
    private String id;

    private String name;

    private String information;

    //Constructors...

    //Getters/Setters and other methods...
}

With this annotation, we will generate the endpoints on the Controller class, services and repositories. After building and running the application you will be able to do POST, GET, UPDATE and DELETE requests, for example:

P.S.: Crudify does not generate security classes. This is up to you to certify your API is secure. We only generate repositories, services and the basic CRUD endpoints.

TODO

  • Improve documentation
  • Check bean generation

Do you want to contribute for this project? Contact me: cleversonledur at gmail dot com