/ui5con2024-graphql-mdc

Demo app for UI5Con 2024 displaying synergies between graphql and MDC.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

ui5con-graphql-mdc

This repository contains a sample for our UI5Con 2024 session "GraphQL and sap.ui.mdc: A Powerful Team for Metadata-Driven Apps", demonstrating the synergies between GraphQL via Apollo Server/Client and MDC. See the slides for more information.

install dependencies

You'll need to have Yarn installed in order to install the whole setup.

yarn

run the project (starts the GraphQL and UI5 server)

yarn start

Afterwards you can access the app on localhost:8080.

architecture

To give a little orientation of what happens where:

significant artifacts

  • Component: Creates the Apollo Client
  • ApolloController: Sets up the UI5/GQL integration with JSONModel
  • GQLPropertyInfo: Retrieves and maps the GQL schema to MDC PropertyInfo

overview (brief and simplified)

app

links