CRUDyLeaf

Add this URL to your Eclipse Installation to reach this solution's update site.

2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31)

https://omargomez2.github.io/CRUDyLeaf/

Learn more...
Solution Description

Build Spring Boot REST endpoints (APIs) by defining entities and CRUD operations. The grammar of this DSL automatically generates the Spring Boot REST files (application, entity, repository, service and controller classes, pom file, etc.). Once generated the files (under src-gen folder), you can run the project (structured as a Maven project) either using a command-line console (with the command: mvn spring-boot:run) or importing the Maven project using a Java IDE.

Once installed this plugin, open a new project (generic project), new file (remember to use the .g2 as extension file). Select yes in case a window prompts you to convert the project to an Xtext project, this in order to generate the code each time you save the source file (.g2 file). 

Click in this link to see an example of the language grammar.

This example will produce the corresponding Spring Boot Java files such as: Car.java (entity), CarRepository.java, CarService.java, CarController.java, Order.java, OrderRepository.java, OrderService.java, OrderController.java, also the main file DemoAppApplication.java and the maven pom file pom.xml. The CRUD operations specified in the entities are exposed as REST services (CarController.java and OrderController.java). By default, the H2 database is used, but you can change it in the application.properties file. Data types supported are Long, UUID, String, Integer, Double, Boolean, Date and Time. An entity property can be filtered only by data types String and Date. CRUDyLeaf will generate the corresponding endpoints for searching in the filtered properties. Date and Time data types can automatically generate values each a successful post is requested. Concerning the time zone, it is possible to define any available from TimeZone.getAvailableIDs(). A complete list of available time zones is discussed in this link.

(updated, version 1.1) The endpoints generated are documented using OpenAPI and Swagger. By default, you can access to this information once the Spring Boot application is run, accessing the following resource: /api-doc.html, however it is possible to change this resource name in the application.properties file.

You can import the resulting spring boot project through a java IDE or running it with the mvn command, mvn spring-boot:run

The plugin can be manually installed from the URL: https://osgg.net/crudyleaf or from this other URL: https://omargomez2.github.io/CRUDyLeaf/

Categories: Languages

Additional Details

Eclipse Versions: 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: GrIISoft Research Group, ESPOCH

Development Status: Mature

Date Created: Friday, January 31, 2020 - 22:24

License: Commercial - Free

Date Updated: Friday, October 6, 2023 - 10:50

Submitted by: Omar S. Gómez

Screenshot
Date Ranking Installs Clickthroughs
March 2024 0/0 0 0
February 2024 671/687 1 6
January 2024 583/691 3 9
December 2023 458/671 10 8
November 2023 391/686 23 7
October 2023 618/673 2 8
September 2023 643/663 1 4
August 2023 0/0 0 7
July 2023 566/668 4 5
June 2023 537/669 5 4
May 2023 347/671 32 4
April 2023 521/667 6 4
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for CRUDyLeaf.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client