Spring Boot GraphQL Generator is an automatic code generator for building GraphQL applications with Spring Boot.
-
Input:
- SQL files containing
CREATE TABLEstatements - SQLite database files
- SQL files containing
-
Configuration: Users can specify:
- Java package name
- Group ID and Artifact ID
- Service name and description
- Java and application version
- Application port
- Database configuration: JDBC URL, username, password, driver, dialect
-
Output:
- Ready-to-use Spring Boot project with GraphQL and JPA integration
- Maven wrapper files (
mvnw,mvnw.cmd,.mvn/wrapper/maven-wrapper.properties) - Application configuration file (
application.properties) - Java code: entity, DTO, repository, controller, utility, and GraphQL schema
- Automatically generated ERD (Entity Relationship Diagram)
- Entity structure documentation in Markdown format
-
Diagram Renderer:
- Automatically generates an ERD (Entity Relationship Diagram) based on the input
- Supports both SQL files and SQLite database files
- Visualizes table structures, columns, primary keys, and relationships
- Select an SQL or SQLite file as input.
- Fill in application and database configuration via the form.
- View the ERD diagram and detected entity descriptions.
- Select entities to generate.
- The generator creates the entire Spring Boot GraphQL project automatically.
- Download the result as a ZIP file, ready to build with Maven.
Spring Boot GraphQL Generator aims to simplify and accelerate the process of creating GraphQL applications with Spring Boot. By automating the initial setup, developers can focus on implementing business logic and custom features rather than boilerplate configuration.
https://github.com/Planetbiru/DatabaseSample
MIT License. See LICENSE for details.