Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.