Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gentics/mesh-plugin-examples
A collection of examples for Gentics Mesh
https://github.com/gentics/mesh-plugin-examples
gentics-mesh headless-cms plugin
Last synced: about 2 months ago
JSON representation
A collection of examples for Gentics Mesh
- Host: GitHub
- URL: https://github.com/gentics/mesh-plugin-examples
- Owner: gentics
- Created: 2018-03-05T10:28:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T11:25:17.000Z (over 2 years ago)
- Last Synced: 2024-08-13T22:15:10.485Z (5 months ago)
- Topics: gentics-mesh, headless-cms, plugin
- Language: Java
- Homepage: https://getmesh.io
- Size: 125 KB
- Stars: 2
- Watchers: 21
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project contains a collection of example Gentics Mesh plugins.
# Hello World
This plugin demonstrates how to extend the REST API.
# GraphQL
Alternatively a plugin may also extend the GraphQL API.
This plugins shows how to add a field to the pluginApi so that you access it via the plugin name (`graphql`).
```
pluginApi {
graphql {
text
}
}
```# Extensions
Plugins may also interact with each other. In this example two plugins (extension-consumer, extension-provider) use extension points to share custom logic.
The extension-provider defines the extension point and the extension consumer will utilize this point.
This mechanism is useful if you want to extend or alter the logic of a plugin using other provider plugins.