DyDaQ is a framework which connects GraphQL service layer (resolvers) with database efficiently, it generates highly optimal SQL queries which suits better for GraphQL and makes GraphQL to Database calls lean / high performance.
Example GraphQL Query:
query{
getHospitalDetails(){
Name
Address
City
}
}
😟 Traditional JPA Query to DB -> Select * from HospitalDetailsTable;
😊 GraphQl Optimized DyDaQ -> Select Name, Address, City from HospitalDetailsTable;
- Generates DB SQL queries on the fly dynamically
- SQL are lean and optimized for GraphQL
- Support simple queries, complex joins and aggregations
- Supports Native queries - write your own SQL
- Plugin added to generate DTO/POJO (can also use Intellij/Eclipse JPA plugin to generate it)
- Select only those columns from DB which are requested from GraphQL query
All these features gives huge performance boost specially with high veracity and high volume data.
- Maven 3+
- Java 8+
- Spring framework
- GraphQL-Java
- GraphQL-Spqr
Please start with these Basics and Examples
- Create entities -> DyDaQ GraphQL DDQ Data Model Entity Generation
- Generate metadata class from the entities -> DyDaQ GraphQL DDQ Metadata Class Generation guidelines
- Leverage DyDaQ APIs to enable your data -> DyDaQ GraphQL DDQ Query Development
We welcome your interest in the American Express Open Source Community on Github. Any Contributor to any Open Source Project managed by the American Express Open Source Community must accept and sign an Agreement indicating agreement to the terms below. Except for the rights granted in this Agreement to American Express and to recipients of software distributed by American Express, You reserve all right, title, and interest, if any, in and to Your Contributions. Please fill out the Agreement.
Any contributions made under this project will be governed by the Apache License 2.0.
This project adheres to the American Express Community Guidelines. By participating, you are expected to honor these guidelines.